[llvm] AMDGPU: Add more attributes to wait event intrinsics (PR #180825)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 12:59:39 PST 2026


================
@@ -2923,14 +2923,17 @@ def int_amdgcn_ds_bvh_stack_rtn : IntDSBVHStackRtn<vdst  = llvm_i32_ty,
 // 2 can be used as the universal value for export_ready.
 def int_amdgcn_s_wait_event :
   ClangBuiltin<"__builtin_amdgcn_s_wait_event">,
-  Intrinsic<[], [llvm_i16_ty], [ImmArg<ArgIndex<0>>, IntrNoMem, IntrHasSideEffects]
+  Intrinsic<[], [llvm_i16_ty],
+  [ImmArg<ArgIndex<0>>, IntrNoMem, IntrNoCallback, IntrNoFree,
----------------
shiltian wrote:

Can we have some sort of attributes set? I think most of the intrinsics share most of the attributes.

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


More information about the llvm-commits mailing list