[llvm] [WIP][AMDGPU] combine uniform AMDGPU lane Intrinsics (PR #116953)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 04:49:37 PST 2024
arsenm wrote:
> If `speculatable_use()` depends on the uniformity of its argument, then shouldn't it be marked convergent? Clearly it has cross-thread semantics and should not be moved in the control flow.
No, it could be anything, like a simple `add`. The transitive users may be convergent, but I don't think it really matters. I think there would need to be some kind of convergent operation inserted here to maintain the use position
https://github.com/llvm/llvm-project/pull/116953
More information about the llvm-commits
mailing list