[llvm] [AMDGPU] Allow hoisting of V_READFIRSTLANE_B32 for uniform operand (PR #178312)

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 02:15:03 PST 2026


ssahasra wrote:

> If we see that argument of readfirstlane folds to an SGPR, we replace a convergent readfirstlane with non-convergent S_MOV_B32.

But now you moved the goal posts. Now the premise is that the argument is an SGPR, the earlier premise was that it is is a uniform value.

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


More information about the llvm-commits mailing list