[llvm] [AMDGPU] Switch V_CNDMASK operands to shrink it into VOP2 (PR #135162)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 10 05:26:58 PDT 2025
================
@@ -831,6 +836,109 @@ bool SIShrinkInstructions::tryReplaceDeadSDST(MachineInstr &MI) const {
return true;
}
+unsigned SIShrinkInstructions::getInverseCompareOpcode(MachineInstr &MI) const {
----------------
arsenm wrote:
I thought we already had that? Isn't this equivalent to getting the commuted opcode?
https://github.com/llvm/llvm-project/pull/135162
More information about the llvm-commits
mailing list