[llvm] [X86] Delete unused X86setcc_commute node (PR #115650)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 10 02:56:53 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-x86
Author: Sergei Barannikov (s-barannikov)
<details>
<summary>Changes</summary>
The last use was removed by 87aa59a0.
---
Full diff: https://github.com/llvm/llvm-project/pull/115650.diff
1 Files Affected:
- (modified) llvm/lib/Target/X86/X86InstrFragmentsSIMD.td (-3)
``````````diff
diff --git a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
index c09522709d2f0d..f6231b78f4c2e8 100644
--- a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
+++ b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
@@ -1450,9 +1450,6 @@ def X86Vpshufbitqmb_su : PatFrag<(ops node:$src1, node:$src2),
return N->hasOneUse();
}]>;
-// This fragment treats X86cmpm as commutable to help match loads in both
-// operands for PCMPEQ.
-def X86setcc_commute : SDNode<"ISD::SETCC", SDTSetCC, [SDNPCommutative]>;
def X86pcmpgtm : PatFrag<(ops node:$src1, node:$src2),
(setcc node:$src1, node:$src2, SETGT)>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/115650
More information about the llvm-commits
mailing list