[llvm] [AMDGPU][GISEL] Marking G_DYN_STACKALLOC AlwaysUniform in uniformity analysis (PR #200390)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 03:02:33 PDT 2026


================
@@ -10941,6 +10941,10 @@ SIInstrInfo::getGenericValueUniformity(const MachineInstr &MI) const {
   if (Opcode == TargetOpcode::G_ADDRSPACE_CAST)
     return HandleAddrSpaceCast(MI);
 
+  // G_DYN_STACKALLOC is always uniform as derived from SP (wave-uniform)
+  if (Opcode == TargetOpcode::G_DYN_STACKALLOC)
----------------
arsenm wrote:

This should go to the same place that those other constant-like cases are handled 

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


More information about the llvm-commits mailing list