<div dir="ltr">As to why this is hard to test at the moment: We don't put the default feature string anywhere into the module or the command line where it's possible to be inspected. With Duncan's under review patch to have a module level default attribute string for functions we might have noticed that this was in there. Otherwise the only way you'd tell would be to invoke the backend for something.<div><br></div><div>-eric<br><br><div class="gmail_quote">On Tue Feb 17 2015 at 12:12:46 PM Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: echristo<br>
Date: Tue Feb 17 13:51:15 2015<br>
New Revision: 229526<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=229526&view=rev" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?rev=229526&view=rev</a><br>
Log:<br>
Remove the ABI from the target features. It's obsoleted by<br>
the -target-abi use and those features don't exist anymore.<br>
<br>
Modified:<br>
    cfe/trunk/lib/Basic/Targets.<u></u>cpp<br>
<br>
Modified: cfe/trunk/lib/Basic/Targets.<u></u>cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=229526&r1=229525&r2=229526&view=diff" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project/cfe/trunk/lib/Basic/<u></u>Targets.cpp?rev=229526&r1=<u></u>229525&r2=229526&view=diff</a><br>
==============================<u></u>==============================<u></u>==================<br>
--- cfe/trunk/lib/Basic/Targets.<u></u>cpp (original)<br>
+++ cfe/trunk/lib/Basic/Targets.<u></u>cpp Tue Feb 17 13:51:15 2015<br>
@@ -1161,9 +1161,6 @@ void PPCTargetInfo::<u></u>getDefaultFeatures(l<br>
     .Default(false);<br>
<br>
   Features["qpx"] = (CPU == "a2q");<br>
-<br>
-  if (!ABI.empty())<br>
-    Features[ABI] = true;<br>
 }<br>
<br>
 bool PPCTargetInfo::hasFeature(<u></u>StringRef Feature) const {<br>
<br>
<br>
______________________________<u></u>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div></div>