mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 03:25:00 +00:00
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
This commit is contained in:
parent
fdb0b7b555
commit
2447389bac
@ -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…
x
Reference in New Issue
Block a user