This feature enables folding of logical shift operations of up to 3 places into addressing mode on Kryo and Falkor that have a fastpath LSL.
PTAL,
Balaram
Paths
| Differential D31113
[AArch64] Add new subtarget feature to fold LSL into address mode. ClosedPublic Authored by bmakam on Mar 17 2017, 8:46 PM.
Details Summary This feature enables folding of logical shift operations of up to 3 places into addressing mode on Kryo and Falkor that have a fastpath LSL. PTAL,
Diff Detail Event Timeline
Comment Actions LGTM, with a few nits.
This revision is now accepted and ready to land.Mar 27 2017, 8:54 AM Comment Actions Thanks for the review Chad,
Closed by commit rL299240: [AArch64] Add new subtarget feature to fold LSL into address mode. (authored by bmakam). · Explain WhyMar 31 2017, 11:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 92859 lib/Target/AArch64/AArch64.td
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
lib/Target/AArch64/AArch64Subtarget.h
test/CodeGen/AArch64/aarch64-fold-lslfast.ll
|
worth it to fold the SHL into the addressing mode.