[llvm] [GISel] Combine `(neg (min/max x, (neg x)))` into `(max/min x, (neg x))` (PR #120998)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 23:12:04 PST 2024


================
@@ -171,6 +171,10 @@ void reportGISelWarning(MachineFunction &MF, const TargetPassConfig &TPC,
                         MachineOptimizationRemarkEmitter &MORE,
                         MachineOptimizationRemarkMissed &R);
 
+/// Returns the inverse opcode of \p MinMaxOpc , which is a generic min/max
----------------
topperc wrote:

Drop the extra space before the comma

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


More information about the llvm-commits mailing list