This is a generic DAG combine version of D151055 which recognizes when a signed ABDS can be safely replaced with a unsigned ABDU instruction if it has better legality.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153328
[DAG] Fold (abds x, y) -> (abdu x, y) iff both args are known positive ClosedPublic Authored by RKSimon on Jun 20 2023, 3:24 AM.
Details Summary This is a generic DAG combine version of D151055 which recognizes when a signed ABDS can be safely replaced with a unsigned ABDU instruction if it has better legality.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 20 2023, 4:49 AM Closed by commit rGff23856c1c0c: [DAG] Fold (abds x, y) -> (abdu x, y) iff both args are known positive (authored by RKSimon). · Explain WhyJun 20 2023, 7:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 532922 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/PowerPC/vec-zext-abdu.ll
|