[llvm-commits] [llvm] r134617 - /llvm/trunk/lib/Support/Triple.cpp

Joerg Sonnenberger joerg at bec.de
Thu Jul 7 09:53:52 PDT 2011


Author: joerg
Date: Thu Jul  7 11:53:52 2011
New Revision: 134617

URL: http://llvm.org/viewvc/llvm-project?rev=134617&view=rev
Log:
Recognize mipseb as alias for mips for symmetry with mipsel.

Modified:
    llvm/trunk/lib/Support/Triple.cpp

Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=134617&r1=134616&r2=134617&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Thu Jul  7 11:53:52 2011
@@ -282,7 +282,8 @@
     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")





More information about the llvm-commits mailing list