Skip to content

Commit 7c85fcb

Browse files
authored
AMDGPU: Make llvm.amdgcn.endpgm convergent (#74555)
I don't believe this makes any practical difference. Fixes #64013
1 parent 753c51b commit 7c85fcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,8 @@ def int_amdgcn_wqm_vote : Intrinsic<[llvm_i1_ty],
21052105
def int_amdgcn_kill : Intrinsic<[], [llvm_i1_ty], [IntrNoCallback, IntrNoFree]>;
21062106

21072107
def int_amdgcn_endpgm : ClangBuiltin<"__builtin_amdgcn_endpgm">,
2108-
Intrinsic<[], [], [IntrNoReturn, IntrCold, IntrNoMem, IntrHasSideEffects, IntrNoCallback, IntrNoFree]
2108+
Intrinsic<[], [], [IntrNoReturn, IntrCold, IntrNoMem, IntrHasSideEffects, IntrConvergent,
2109+
IntrNoCallback, IntrNoFree]
21092110
>;
21102111

21112112
// If false, mark all active lanes as helper lanes until the end of program.

0 commit comments

Comments
 (0)