llvm.org GIT mirror llvm / bf35859
AMDGPU: Set inaccessiblememonly on sendmsg intrinsics git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366384 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 2 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
198198 // The first parameter is s_sendmsg immediate (i16),
199199 // the second one is copied to m0
200200 def int_amdgcn_s_sendmsg : GCCBuiltin<"__builtin_amdgcn_s_sendmsg">,
201 Intrinsic <[], [llvm_i32_ty, llvm_i32_ty], [ImmArg<0>]>;
201 Intrinsic <[], [llvm_i32_ty, llvm_i32_ty], [ImmArg<0>, IntrInaccessibleMemOnly]>;
202202 def int_amdgcn_s_sendmsghalt : GCCBuiltin<"__builtin_amdgcn_s_sendmsghalt">,
203 Intrinsic <[], [llvm_i32_ty, llvm_i32_ty], [ImmArg<0>]>;
203 Intrinsic <[], [llvm_i32_ty, llvm_i32_ty], [ImmArg<0>, IntrInaccessibleMemOnly]>;
204204
205205 def int_amdgcn_s_barrier : GCCBuiltin<"__builtin_amdgcn_s_barrier">,
206206 Intrinsic<[], [], [IntrConvergent]>;