[llvm] [RISCV] Add groupid/bitmask for RISC-V extension (PR #94440)

Piyou Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 03:15:39 PDT 2024


================
@@ -25,7 +25,7 @@
 class RISCVExtension<string name, int major, int minor, string desc,
                      list<SubtargetFeature> implies = [],
                      string fieldname = !subst("Feature", "Has", NAME),
-                     string value = "true">
+                     string value = "true", bits<3> groupID=0, int bitmaskShift=-1>
----------------
BeMg wrote:

This way sound good to me. @kito-cheng Do you have other concern on it? 

https://github.com/llvm/llvm-project/pull/94440


More information about the llvm-commits mailing list