From f67b861f789fbd070448e523b1df62e178e7cbdc Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Wed, 8 Apr 2026 11:56:51 +0100 Subject: [PATCH] aco/gfx11.7: allow any src VGPR for VOPD with two v_dual_mov_B32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Georg Lehmann Reviewed-by: Marek Olšák Part-of: --- src/amd/compiler/aco_scheduler_ilp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/compiler/aco_scheduler_ilp.cpp b/src/amd/compiler/aco_scheduler_ilp.cpp index ccee0f8aaf3..e7dd362eeec 100644 --- a/src/amd/compiler/aco_scheduler_ilp.cpp +++ b/src/amd/compiler/aco_scheduler_ilp.cpp @@ -304,9 +304,9 @@ bool are_src_banks_compatible(enum amd_gfx_level gfx_level, const VOPDInfo& a, const VOPDInfo& b, bool swap) { - if (gfx_level >= GFX12 && a.op == aco_opcode::v_dual_mov_b32 && + if (gfx_level >= GFX11_7 && a.op == aco_opcode::v_dual_mov_b32 && b.op == aco_opcode::v_dual_mov_b32) { - /* On GFX12+, OPY uses src2 if both OPX and OPY are v_dual_mov_b32, so there are no + /* On GFX11.7+, OPY uses src2 if both OPX and OPY are v_dual_mov_b32, so there are no * compatibility issues. */ return true; }