[llvm] [DAGCombiner] Turn `(neg (max x, (neg x)))` into `(min x, (neg x))` (PR #120666)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 26 04:51:06 PST 2024
================
@@ -1506,6 +1506,8 @@ inline bool isBitwiseLogicOp(unsigned Opcode) {
return Opcode == ISD::AND || Opcode == ISD::OR || Opcode == ISD::XOR;
}
+NodeType getInverseMinMaxOpcode(unsigned MinMaxOpc);
----------------
arsenm wrote:
Document
https://github.com/llvm/llvm-project/pull/120666
More information about the llvm-commits
mailing list