diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-08-08 04:49:42 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-08-08 04:49:42 +0000 |
commit | f131fa26e6eca719e793e2fc7fe750040e9357a6 (patch) | |
tree | c35cbfc3e15379470f10f71430dd37c3a87df831 /lib/Target/Mips | |
parent | ab243df91f43c68fb55f5122afd06a1359cb0604 (diff) | |
download | external_llvm-f131fa26e6eca719e793e2fc7fe750040e9357a6.zip external_llvm-f131fa26e6eca719e793e2fc7fe750040e9357a6.tar.gz external_llvm-f131fa26e6eca719e793e2fc7fe750040e9357a6.tar.bz2 |
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
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index 29d869b..d8c0797 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; |