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:
parent
d4a31156e7
commit
763d4d3648
@ -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
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user