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

via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 02:32:06 PDT 2025


================
@@ -147,6 +147,13 @@ def ntl_load : RISCVBuiltin<"void(...)">;
 def ntl_store : RISCVBuiltin<"void(...)">;
 } // Features = "zihintntl", Attributes = [CustomTypeChecking]
 
+//===----------------------------------------------------------------------===//
+// Zihintpause extension.
+//===----------------------------------------------------------------------===//
+let Features = "zihintpause" in {
+def pause : RISCVBuiltin<"void(...)">;
+} // Features = "zihintntl"
----------------
imkiva wrote:

Thanks

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


More information about the llvm-commits mailing list