[llvm] [AMDGPU] si-peephole-sdwa: Fix cndmask vcc use for wave32 (PR #139541)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 05:37:01 PDT 2025
================
@@ -1105,6 +1105,7 @@ void SIPeepholeSDWA::convertVcndmaskToVOP2(MachineInstr &MI,
.add(*TII->getNamedOperand(MI, AMDGPU::OpName::src0))
.add(*TII->getNamedOperand(MI, AMDGPU::OpName::src1))
.setMIFlags(MI.getFlags());
+ TII->fixImplicitOperands(*Converted);
----------------
arsenm wrote:
It just occurred to me that this shouldn't be introducing the VOP2 form. It should directly go to SDWA or do nothing
https://github.com/llvm/llvm-project/pull/139541
More information about the llvm-commits
mailing list