[clang] [llvm] [RISCV] Add `zihintpause` LLVM/Clang intrinsic (PR #139519)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 10:49:44 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 {
----------------
topperc wrote:
This should have `Attributes = [NoThrow]`. Zihintntl should too, but that's for a different patch.
https://github.com/llvm/llvm-project/pull/139519
More information about the llvm-commits
mailing list