Recognize xscale as an ARM arch.
- Patch by Yonggang Luo.
llvm-svn: 79315
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index 0407750..e5ee6d5 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -130,7 +130,8 @@
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"))