From 2447389bac8b4fc1b1edb3240a408a92616f2ca2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 18 Aug 2009 04:51:26 +0000 Subject: Recognize xscale as an ARM arch. - Patch by Yonggang Luo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79315 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Triple.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Support') diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 0407750..e5ee6d5 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -130,7 +130,8 @@ void Triple::Parse() const { else if (ArchName == "powerpc64") Arch = ppc64; else if (ArchName == "arm" || - ArchName.startswith("armv")) + ArchName.startswith("armv") || + ArchName == "xscale") Arch = arm; else if (ArchName == "thumb" || ArchName.startswith("thumbv")) -- cgit v1.1