[llvm] [X86] Delete unused X86setcc_commute node (PR #115650)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 02:56:20 PST 2024


https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/115650

The last use was removed by 87aa59a0.


>From 6d9faca06d42124339bcc5654d3ca70abbc278ff Mon Sep 17 00:00:00 2001
From: Sergei Barannikov <barannikov88 at gmail.com>
Date: Sun, 10 Nov 2024 13:49:02 +0300
Subject: [PATCH] [X86] Delete unused X86setcc_commute node

The node has been unused since c2696d57.
---
 llvm/lib/Target/X86/X86InstrFragmentsSIMD.td | 3 ---
 1 file changed, 3 deletions(-)

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