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

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 21:25:51 PDT 2024


================
@@ -52,108 +61,118 @@ class RISCVExperimentalExtension<string name, int major, int minor, string desc,
 
 def FeatureStdExtI
     : RISCVExtension<"i", 2, 1,
-                     "'I' (Base Integer Instruction Set)">;
+                     "'I' (Base Integer Instruction Set)">,
+                     RISCVExtensionBitmask<0, 0>;
----------------
wangpc-pp wrote:

I think we should align `RISCVExtensionBitmask` with `RISCVExtension`.

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


More information about the llvm-commits mailing list