[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
================
@@ -147,6 +147,13 @@ def ntl_load : RISCVBuiltin<"void(...)">;
def ntl_store : RISCVBuiltin<"void(...)">;
} // Features = "zihintntl", Attributes = [CustomTypeChecking]
+//===----------------------------------------------------------------------===//
+// Zihintpause extension.
+//===----------------------------------------------------------------------===//
+let Features = "zihintpause", Attributes = [NoThrow] in {
----------------
wangpc-pp wrote:
you don't need surrounding braces if there is only one definition.
https://github.com/llvm/llvm-project/pull/139519
More information about the llvm-commits
mailing list