1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Match raw "psp" triple target, as done by the homebrew toolchain.

llvm-svn: 54514
This commit is contained in:
Bruno Cardoso Lopes 2008-08-08 04:49:42 +00:00
parent 91abeb9458
commit 883eb4e6fa

View 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;