projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a850411
)
Recognize mipseb as alias for mips for symmetry with mipsel.
author
Joerg Sonnenberger
<joerg@bec.de>
Thu, 7 Jul 2011 16:53:52 +0000
(16:53 +0000)
committer
Joerg Sonnenberger
<joerg@bec.de>
Thu, 7 Jul 2011 16:53:52 +0000
(16:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134617
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Triple.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Triple.cpp
b/lib/Support/Triple.cpp
index 6247a8f1da6ac92e12042fe66ab709e5c3667994..7e094ee78f36ae584c63ebfe4e92b55d32979714 100644
(file)
--- a/
lib/Support/Triple.cpp
+++ b/
lib/Support/Triple.cpp
@@
-282,7
+282,8
@@
Triple::ArchType Triple::ParseArch(StringRef ArchName) {
return cellspu;
else if (ArchName == "msp430")
return msp430;
- else if (ArchName == "mips" || ArchName == "mipsallegrex")
+ else if (ArchName == "mips" || ArchName == "mipseb" ||
+ ArchName == "mipsallegrex")
return mips;
else if (ArchName == "mipsel" || ArchName == "mipsallegrexel" ||
ArchName == "psp")