[clang] [llvm] Add Smrnmi extension (PR #111668)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 20:33:37 PDT 2024


================
@@ -66,6 +66,8 @@ def riscv_sret_glue : SDNode<"RISCVISD::SRET_GLUE", SDTNone,
                              [SDNPHasChain, SDNPOptInGlue]>;
 def riscv_mret_glue : SDNode<"RISCVISD::MRET_GLUE", SDTNone,
                              [SDNPHasChain, SDNPOptInGlue]>;
+def riscv_mnret_glue : SDNode<"RISCVISD::MNRET_GLUE", SDTNone,
----------------
wangpc-pp wrote:

This should be in another patch for CodeGen. And, do we really need it? It will be used in supervisor IIUC.

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


More information about the cfe-commits mailing list