2 Commits

Author SHA1 Message Date
Jay Foad
81084bfa2c [AMDGPU] Make use of !listremove. NFCI.
This only affects the order of implicit operands in some MIR tests.

Differential Revision: https://reviews.llvm.org/D139829
2022-12-12 17:01:04 +00:00
Joe Nash
01b8140d3a [AMDGPU] Fix delay alu for VOPD with src2acc
V_FMAC_F32 and V_DOT2C_F32_F16 have a dummy src2 operand tied to vdst to
inform passes that the instructions read the dst operand. The VOPD
versions of these instructions lacked the dummy operand, which was a
problem for inserting s_delay_alu.
Introduce the dummy src2 operand on the VOPD versions, and fix the VOPD operand
tracking logic to account for it.

Reviewed By: dp

Differential Revision: https://reviews.llvm.org/D136629
2022-10-25 13:11:17 -04:00