[clang] [llvm] [RISCV][VCIX] Add vcix_state to GNU inline assembly register set (PR #106914)
Pengcheng Wang via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 1 20:38:09 PDT 2024
================
@@ -664,5 +664,9 @@ def FRM : RISCVReg<0, "frm">;
// Shadow Stack register
def SSP : RISCVReg<0, "ssp">;
-// Dummy VCIX state register
+// Dummy VCIX state register and its register class
def VCIX_STATE : RISCVReg<0, "vcix_state">;
+def : RISCVRegisterClass<[XLenVT], 32, (add VCIX_STATE)> {
----------------
wangpc-pp wrote:
Why do we need a RegisterClass for it?
https://github.com/llvm/llvm-project/pull/106914
More information about the cfe-commits
mailing list