forked from OSchip/llvm-project
MIPS: Followup to r154606. Expand list of accepted MIPS target features in the MipsTargetInfoBase::setFeatureEnabled() routine.
llvm-svn: 154998
This commit is contained in:
parent
5d3231cecb
commit
296a7bb49f
|
@ -3555,7 +3555,10 @@ public:
|
|||
virtual bool setFeatureEnabled(llvm::StringMap<bool> &Features,
|
||||
StringRef Name,
|
||||
bool Enabled) const {
|
||||
if (Name == "soft-float" || Name == "single-float") {
|
||||
if (Name == "soft-float" || Name == "single-float" ||
|
||||
Name == "o32" || Name == "n32" || Name == "n64" || Name == "eabi" ||
|
||||
Name == "mips32" || Name == "mips32r2" ||
|
||||
Name == "mips64" || Name == "mips64r2") {
|
||||
Features[Name] = Enabled;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue