[llvm] 7c13477 - [X86] Delete unused X86setcc_commute node (NFC) (#115650)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 04:48:17 PST 2024


Author: Sergei Barannikov
Date: 2024-11-10T15:48:13+03:00
New Revision: 7c13477351046c115ad86e047f3f7346bb925b19

URL: https://github.com/llvm/llvm-project/commit/7c13477351046c115ad86e047f3f7346bb925b19
DIFF: https://github.com/llvm/llvm-project/commit/7c13477351046c115ad86e047f3f7346bb925b19.diff

LOG: [X86] Delete unused X86setcc_commute node (NFC) (#115650)

The last use was removed by 87aa59a0.

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86InstrFragmentsSIMD.td

Removed: 
    


################################################################################
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)>;
 


        


More information about the llvm-commits mailing list