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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 11:02:22 PST 2026


================
@@ -2561,6 +2561,12 @@ bool SIInstrInfo::expandPostRAPseudo(MachineInstr &MI) const {
     break;
   }
 
+  case AMDGPU::V_READANYLANE_B32_PSEUDO:
+    MI.setDesc(get(AMDGPU::V_READFIRSTLANE_B32));
+    MI.setFlag(MachineInstr::NoConvergent);
+    break;
----------------
arsenm wrote:

Wherever you created the instruction? You didn't introduce a new intrinsic or any end user facing entry point 

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


More information about the llvm-commits mailing list