================ @@ -169,6 +169,9 @@ void riscv::getRISCVTargetFeatures(const Driver &D, const llvm::Triple &Triple, Features.push_back("-relax"); } + if (!Args.hasArg(options::OPT_menable_experimental_extensions)) + Features.push_back("+no-experimental-ext"); ---------------- yetingk wrote:
Fixed. Only use +experimental feature. https://github.com/llvm/llvm-project/pull/89727 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits