[PATCH] D128235: [RISCV] Add support for the Zawrs extension

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 21 01:30:23 PDT 2022

asb added a comment.

> This is still some sort of very early draft and I'm not sure what the rules are in LLVM land for merging that sort of code. It's a fast track extension so it should be done soon

The policy we ended up with is that support for not-yet-ratified extensions can be merged, but they're made to stick out like a sore thumb by calling the feature -experimental-foo and requiring `-menable-experimental-extensions` in clang. Given the simplicity of zawrs there's substantially less scope for drastic changes, but I think conforming to that is probably the best patch forwards. You should be able to see an example by looking at one of the stalled bitmanip extensions, e.g. experimental-zbp.



More information about the cfe-commits mailing list