From f131fa26e6eca719e793e2fc7fe750040e9357a6 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Fri, 8 Aug 2008 04:49:42 +0000 Subject: [PATCH] Match raw "psp" triple target, as done by the homebrew toolchain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54514 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsSubtarget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index 29d869b8bd3..d8c07970278 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -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; -- 2.34.1