[cfe-commits] r154998 - /cfe/trunk/lib/Basic/Targets.cpp
Simon Atanasyan
satanasyan at mips.com
Wed Apr 18 05:00:11 PDT 2012
Author: atanasyan
Date: Wed Apr 18 07:00:11 2012
New Revision: 154998
URL: http://llvm.org/viewvc/llvm-project?rev=154998&view=rev
Log:
MIPS: Followup to r154606. Expand list of accepted MIPS target features in the MipsTargetInfoBase::setFeatureEnabled() routine.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=154998&r1=154997&r2=154998&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Apr 18 07:00:11 2012
@@ -3555,7 +3555,10 @@
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;
}
More information about the cfe-commits
mailing list