MIPS: Followup to r154606. Expand list of accepted MIPS target features in the MipsTargetInfoBase::setFeatureEnabled() routine.

llvm-svn: 154998
This commit is contained in:
Simon Atanasyan 2012-04-18 12:00:11 +00:00
parent 5d3231cecb
commit 296a7bb49f
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}