[clang] [llvm] [RISCV] Teach .option arch to support experimental extensions. (PR #89727)
Yeting Kuo via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 23 22:39:57 PDT 2024
================
@@ -51,6 +51,9 @@ STATISTIC(RISCVNumInstrsCompressed,
static cl::opt<bool> AddBuildAttributes("riscv-add-build-attributes",
cl::init(false));
+static cl::opt<bool>
+ DisableExperimentalExtension("riscv-disable-experimental-ext",
----------------
yetingk wrote:
Since only clang needs specific option to allows experimental extensions.
https://github.com/llvm/llvm-project/pull/89727
More information about the cfe-commits
mailing list