<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 17, 2020, 07:33 James Y Knight via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div>One way to resolve this would be to require _both_ -- you must specify your ISA options with explicit versions in the ISA string, but, doing so would print an error without a separate flag also being enabled, e.g. "error: ISA extension b0p92 is an experimental extension, and support may be removed in future LLVM releases. Pass -mallow-experimental-riscv-isa-extensions to enable."</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think this makes a lot of sense, it's also similar to how experimental features are enabled on cargo (rust's package manager/build system) where you have to</div><div dir="auto">use "-Z unstable-features" as well as the flag for whatever feature you wanted to use.</div><div dir="auto"><br></div><div dir="auto" style="font-family:sans-serif"><div dir="auto"><a href="https://doc.rust-lang.org/cargo/reference/unstable.html">https://doc.rust-lang.org/cargo/reference/unstable.html</a></div></div><br><div dir="auto">Example for using the unstable --out-dir option:<br></div><div dir="auto"><div dir="auto">cargo +nightly build --out-dir=out -Z unstable-options</div><div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-family:sans-serif">I'm probably going to shamelessly steal your idea when we (libre-riscv) add our GPU extensions to PowerISA and/or RISC-V.<br></div></div><div dir="auto"><br></div><div dir="auto">Jacob</div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>