[llvm] [AMDGPU] Relax VOPD constraints for gfx12+ with data deps (PR #191264)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 11:57:31 PDT 2026


================
@@ -1886,7 +1886,8 @@ define double @buffer_fat_ptr_agent_atomic_fmax_ret_f64__amdgpu_no_fine_grained_
 ; GFX11-NEXT:    v_max_f64 v[2:3], v[0:1], v[6:7]
 ; GFX11-NEXT:    s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
 ; GFX11-NEXT:    v_mov_b32_e32 v0, v2
-; GFX11-NEXT:    v_dual_mov_b32 v1, v3 :: v_dual_mov_b32 v2, v4
+; GFX11-NEXT:    v_mov_b32_e32 v1, v3
----------------
Sisyph wrote:

There are implicit defs on these, which blocks the the VOPD, when we check the data depedencies correctly. They are coming from expandPostRA pseudos. https://github.com/llvm/llvm-project/pull/190379 Removed some, but there are more

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


More information about the llvm-commits mailing list