The Ampere1A core supports a new fusion pattern that optimises the
case of A+B+1 and A-B-1. Add support.
Depends on D142396
Paths
| Differential D142502
[AArch64] Add A+B+1 and A-B-1 macro fusion for Ampere1A ClosedPublic Authored by philipp.tomsich on Jan 24 2023, 12:54 PM.
Details Summary The Ampere1A core supports a new fusion pattern that optimises the Depends on D142396
Diff Detail
Event TimelineComment Actions Can you add some tests. Possibly with a mir test?
Comment Actions
This revision is now accepted and ready to land.Jan 29 2023, 2:31 AM This revision was landed with ongoing or failed builds.Jan 29 2023, 8:27 AM Closed by commit rG112f352bc0ad: [AArch64] Add A+B+1 and A-B-1 macro fusion for Ampere1A (authored by philipp.tomsich). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 491881 llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64MacroFusion.cpp
|
HasFuseeAddSub2RegAndConstOne -> HasFuseAddSub2RegAndConstOne