[llvm] [AMDGPU] Emit b32 movs if (a)v_mov_b64_pseudo dest vgprs are misaligned (PR #160547)
Janek van Oirschot via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 29 07:24:37 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 &&
----------------
JanekvO wrote:
Had a look and does seem to be removable but requires updating tests with rephrased verifier output. I also did not see any changes to spill pseudo (related) tests, though. Unless we *really* want this removed in this PR, I'd like to offload removal to another PR.
https://github.com/llvm/llvm-project/pull/160547
More information about the llvm-commits
mailing list