[clang] [llvm] [RISCV] Add `zihintpause` LLVM/Clang intrinsic (PR #139519)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 22:33:01 PDT 2025


================
@@ -2198,6 +2198,15 @@ def : Pat<(binop_allwusers<add> GPR:$rs1, immop_oneuse<AddiPair>:$rs2),
 def : Pat<(i64 (add GPR:$rs1, negImm:$rs2)), (SUB GPR:$rs1, negImm:$rs2)>;
 }
 
+//===----------------------------------------------------------------------===//
+// Zihintpause
+//===----------------------------------------------------------------------===//
+
+// Zihintpause
+let Predicates = [HasStdExtZihintpause] in {
----------------
wangpc-pp wrote:

Ditto.

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


More information about the llvm-commits mailing list