[llvm-commits] [llvm] r54514 - /llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Thu Aug 7 21:49:43 PDT 2008


Author: bruno
Date: Thu Aug  7 23:49:42 2008
New Revision: 54514

URL: http://llvm.org/viewvc/llvm-project?rev=54514&view=rev
Log:
Match raw "psp" triple target, as done by the homebrew toolchain.

Modified:
    llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp?rev=54514&r1=54513&r2=54514&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp Thu Aug  7 23:49:42 2008
@@ -50,7 +50,8 @@
   // a allegrex target, set the features. We also match
   // big and little endian allegrex cores (dont really
   // know if a big one exists)
-  if (TT.find("mipsallegrex") != std::string::npos) {
+  if (TT.find("mipsallegrex") != std::string::npos ||
+      TT.find("psp") != std::string::npos) {
     MipsABI = EABI;
     IsSingleFloat = true;
     MipsArchVersion = Mips2;





More information about the llvm-commits mailing list