add MIPS32 predefined identifier

This commit is contained in:
Radu Racariu 2018-03-26 18:37:57 +03:00 committed by David Nadlinger
parent 63034ae1ca
commit eebd2d4519

View file

@ -733,6 +733,7 @@ void registerPredefinedTargetVersions() {
case llvm::Triple::mips: case llvm::Triple::mips:
case llvm::Triple::mipsel: case llvm::Triple::mipsel:
VersionCondition::addPredefinedGlobalIdent("MIPS"); VersionCondition::addPredefinedGlobalIdent("MIPS");
VersionCondition::addPredefinedGlobalIdent("MIPS32");
registerPredefinedFloatABI("MIPS_SoftFloat", "MIPS_HardFloat"); registerPredefinedFloatABI("MIPS_SoftFloat", "MIPS_HardFloat");
registerMipsABI(); registerMipsABI();
break; break;