[llvm] [X86] Add DAG combiner for X86ISD::XOR to eliminate redundant XORs (PR #216134)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 14:10:23 PDT 2026


================
@@ -59394,6 +59394,28 @@ static SDValue combineCMP(SDNode *N, SelectionDAG &DAG,
   return Op.getValue(1);
 }
 
+/// If a matching generic opcode node exists, replace its uses with the value
+/// of the target-specific node N.
+static void matchGenericOp(unsigned Opc, SDNode *N, SDValue N0, SDValue N1,
+                           SelectionDAG &DAG,
----------------
AZero13 wrote:

Done!

https://github.com/llvm/llvm-project/pull/216134


More information about the llvm-commits mailing list