[all-commits] [llvm/llvm-project] 3cac26: [GISel] Combine `(neg (min/max x, (neg x)))` into ...
Min-Yih Hsu via All-commits
all-commits at lists.llvm.org
Thu Jan 2 16:29:55 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3cac26f5419b68d37e1919001e1c46a765df294f
https://github.com/llvm/llvm-project/commit/3cac26f5419b68d37e1919001e1c46a765df294f
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-01-02 (Thu, 02 Jan 2025)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/Target/RISCV/RISCVCombine.td
A llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll
Log Message:
-----------
[GISel] Combine `(neg (min/max x, (neg x)))` into `(max/min x, (neg x))` (#120998)
This is the GISel version of #120666. Also supports both unsigned and
signed version of min & max.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list