Match raw "psp" triple target, as done by the homebrew toolchain.
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 8 Aug 2008 04:49:42 +0000 (04:49 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 8 Aug 2008 04:49:42 +0000 (04:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsSubtarget.cpp

index 29d869b8bd3210b63e4d499382194f6f6ca99a1a..d8c07970278d8444c0a447ed5fa0d0fd03c2b276 100644 (file)
@@ -50,7 +50,8 @@ MipsSubtarget::MipsSubtarget(const TargetMachine &TM, const Module &M,
   // 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;