[llvm] [AMDGPU] Introduce V_READANYLANE_B32 (PR #178312)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 29 02:11:22 PST 2026


================
@@ -248,12 +248,31 @@ def V_READFIRSTLANE_B32 : VOP1_Pseudo <"v_readfirstlane_b32", VOP_READFIRSTLANE,
   let isConvergent = 1;
 }
 
+// V_READANYLANE_B32_PSEUDO is useful for an uniform input only. Unlike
----------------
rampitec wrote:

Maybe I shall add: 'it must be defined at the point of use of a current thread'. Which automatically rules out a general readlane which can read an inactive lane.

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


More information about the llvm-commits mailing list