[llvm] [GISel] Combine `(neg (min/max x, (neg x)))` into `(max/min x, (neg x))` (PR #120998)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 24 11:45:12 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
----------------
mshockwave wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/120998
More information about the llvm-commits
mailing list