================ @@ -370,6 +371,10 @@ bool RISCVTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, ISAInfo = std::move(*ParseResult); } + if (std::find(Features.begin(), Features.end(), "+experimental") != ---------------- topperc wrote:
Use llvm::find. Or even better, maybe we can use `llvm::is_contained(Features, "+experimental")` https://github.com/llvm/llvm-project/pull/74213 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits