================ @@ -14156,6 +14157,84 @@ CodeGenFunction::EmitAArch64CpuSupports(ArrayRef<StringRef> FeaturesStrs) { return Result; } +llvm::SmallVector<llvm::Value *> +CodeGenFunction::EmitRISCVExtSupports(ArrayRef<StringRef> FeaturesStrs) { + auto BaseExtReqs = llvm::RISCV::getBaseExtensionKey(FeaturesStrs); + auto IMACompatibleExtReqs = + llvm::RISCV::getIMACompatibleExtensionKey(FeaturesStrs); + + // check whether all FeatureStrs are available for hwprobe. ---------------- topperc wrote:
check->Check https://github.com/llvm/llvm-project/pull/85786 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits