[llvm-branch-commits] [llvm] AMDGPU: Simplify demanded bits on readlane/writeline index arguments (PR #117963)

Jay Foad via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 28 00:32:00 PST 2024


jayfoad wrote:

> If we have out of bounds indexing, these will now clamp down to
> a low bit which may CSE with the operations on the low half of the
> wave.

Should mention that in the comment in the code. It was not clear to me why you would want to clamp constants.

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


More information about the llvm-branch-commits mailing list