This adds both signed and unsigned transforms for max(a, b) - min(a,b) -> abd(a,b).
unsigned: https://alive2.llvm.org/ce/z/RF4jGQ
signed: https://alive2.llvm.org/ce/z/Cjr2zE
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D141706
[DAG][ARM][AArch64] Transform max(a, b) - min(a,b) -> abd(a,b) ClosedPublic Authored by dmgreen on Jan 13 2023, 10:09 AM.
Details Summary This adds both signed and unsigned transforms for max(a, b) - min(a,b) -> abd(a,b).
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 13 2023, 2:13 PM This revision was landed with ongoing or failed builds.Jan 18 2023, 3:44 AM Closed by commit rG21df504399c2: [DAG][ARM][AArch64] Transform max(a,b) - min(a,b) -> abd(a,b) (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 489050 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/neon-abd.ll
|