================
@@ -257,7 +257,7 @@ bool RISCVTargetInfo::initFeatureMap(
 
   // If a target attribute specified a full arch string, override all the ISA
   // extension target features.
-  const auto I = llvm::find(FeaturesVec, "__RISCV_TargetAttrNeedOverride");
+  const auto I = llvm::find(FeaturesVec, "+__RISCV_TargetAttrNeedOverride");
----------------
BeMg wrote:

This feature was used to implement the target attribute override mechanism.

I think it could be removed after replacing it with several negative target 
features. Here is the pull request for this change: 
https://github.com/llvm/llvm-project/pull/106680


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

Reply via email to