r229526 - Remove the ABI from the target features. It's obsoleted by

Eric Christopher echristo at gmail.com
Tue Feb 17 11:51:15 PST 2015


Author: echristo
Date: Tue Feb 17 13:51:15 2015
New Revision: 229526

URL: http://llvm.org/viewvc/llvm-project?rev=229526&view=rev
Log:
Remove the ABI from the target features. It's obsoleted by
the -target-abi use and those features don't exist anymore.

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=229526&r1=229525&r2=229526&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Feb 17 13:51:15 2015
@@ -1161,9 +1161,6 @@ void PPCTargetInfo::getDefaultFeatures(l
     .Default(false);
 
   Features["qpx"] = (CPU == "a2q");
-
-  if (!ABI.empty())
-    Features[ABI] = true;
 }
 
 bool PPCTargetInfo::hasFeature(StringRef Feature) const {





More information about the cfe-commits mailing list