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

Piyou Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 04:19:51 PDT 2024


================
@@ -12,6 +12,11 @@ class RISCVExtension<string name, int major, int minor, string desc,
   bit Experimental = false;
 }
 
+class RISCVExtensionBitmask<bits<3> groupID, int bitmaskShift> {
+    bits<3> GroupID = groupID;
----------------
BeMg wrote:

Both use `int` now.

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


More information about the llvm-commits mailing list