[llvm] [clang] [RISCV] Remove experimental from Vector Crypto extensions (PR #74213)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 13:18:57 PST 2023


================
@@ -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


More information about the cfe-commits mailing list