================
@@ -413,7 +385,9 @@ static void handleFullArchString(StringRef FullArchStr,
     // Forward the invalid FullArchStr.
     Features.push_back("+" + FullArchStr.str());
   } else {
-    std::vector<std::string> FeatStrings = (*RII)->toFeatures();
+    // Append a full list of features, including any negative extensions so 
that
+    // we override the CPU's features.
+    std::vector<std::string> FeatStrings = (*RII)->toFeatures(true);
----------------
topperc wrote:

Add an inline comment to label what `true` means

https://github.com/llvm/llvm-project/pull/77426
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to