[llvm] [AMDGPU] Work around gfx1250 VOPD3 FP64 OPY hazard (PR #224741)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 20:12:07 PDT 2026


================
@@ -105,6 +105,46 @@ static bool canMapVOP3PToVOPD(const MachineInstr &MI) {
          getNamedOp(MI, AMDGPU::OpName::src2).getReg();
 }
 
+// In a VOPD3 whose OPX is a 64-bit operation an OPY VGPR source operand reads
+// back the wrong value if it names the last VGPR the wave owns.
----------------
shiltian wrote:

what does "name" mean here?

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


More information about the llvm-commits mailing list