[llvm] [AMDGPU] Emit b32 movs if (a)v_mov_b64_pseudo dest vgprs are misaligned (PR #160547)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 29 08:00:25 PST 2026


================
@@ -5201,7 +5208,8 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr &MI,
     // aligned register constraint.
     // FIXME: We do not verify inline asm operands, but custom inline asm
     // verification is broken anyway
-    if (ST.needsAlignedVGPRs() && Opcode != AMDGPU::AV_MOV_B64_IMM_PSEUDO) {
+    if (ST.needsAlignedVGPRs() && Opcode != AMDGPU::AV_MOV_B64_IMM_PSEUDO &&
----------------
arsenm wrote:

There's still spill work needed 

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


More information about the llvm-commits mailing list