command line option only. Internally we convert them to the "o32" and "n64"
respectively. So we do not need to refer them anywhere after that conversion.
No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212096
91177308-0d34-0410-b5e6-
96231b3b80d8
ABI = Name;
return true;
}
- if (Name == "32") {
- ABI = "o32";
- return true;
- }
return false;
}
void getTargetDefines(const LangOptions &Opts,
ABI = Name;
return true;
}
- if (Name == "n64" || Name == "64") {
+ if (Name == "n64") {
setN64ABITypes();
- ABI = "n64";
+ ABI = Name;
return true;
}
return false;
if (!ABIName.empty()) {
// Deduce CPU name from ABI name.
CPUName = llvm::StringSwitch<const char *>(ABIName)
- .Cases("32", "o32", "eabi", DefMips32CPU)
- .Cases("n32", "n64", "64", DefMips64CPU)
+ .Cases("o32", "eabi", DefMips32CPU)
+ .Cases("n32", "n64", DefMips64CPU)
.Default("");
}
else if (!CPUName.empty()) {