================
@@ -14945,6 +14945,13 @@ SDValue SITargetLowering::performMinMaxCombine(SDNode *N,
}
}
+ // max(x, neg(x)) -> abs(x)
----------------
LU-JOHN wrote:
Removed smax transformation from this PR. Will do it in a separate generic PR.
https://github.com/llvm/llvm-project/pull/163907