1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Recognize xscale as an ARM arch.

- Patch by Yonggang Luo.

llvm-svn: 79315
This commit is contained in:
Daniel Dunbar 2009-08-18 04:51:26 +00:00
parent d4a31156e7
commit 763d4d3648
2 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public:
UnknownArch,
alpha, // Alpha: alpha
arm, // ARM; arm, armv.*
arm, // ARM; arm, armv.*, xscale
bfin, // Blackfin: bfin
cellspu, // CellSPU: spu, cellspu
mips, // MIPS: mips, mipsallegrex

View File

@ -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"))