[llvm] [SDAG] (setcc (sub nsw a, b), zero, s??) -> (setcc a, b, s??) (PR #175459)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 12 04:13:05 PST 2026


================
@@ -13885,7 +13877,7 @@ SDValue DAGCombiner::visitSETCC(SDNode *N) {
   SDValue N0 = N->getOperand(0), N1 = N->getOperand(1);
   SDLoc DL(N);
 
-  if (SDValue Combined = SimplifySetCC(VT, N0, N1, Cond, DL, !PreferSetCC)) {
+  if (SDValue Combined = Simplifysetcc(VT, N0, N1, Cond, DL, !PreferSetCC)) {
----------------
natanelh-mobileye wrote:

fixed

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


More information about the llvm-commits mailing list