Implement TTI interface for targets to indicate that the LSR should give priority to post-incrementing addressing modes. This is turned off by default (to preserve current behavior).
Combination of patches by Sebastian Pop and Brendon Cahoon.
Paths
| Differential D44758
[LSR] Allow giving priority to post-incrementing addressing modes ClosedPublic Authored by kparzysz on Mar 21 2018, 3:00 PM.
Details Summary Implement TTI interface for targets to indicate that the LSR should give priority to post-incrementing addressing modes. This is turned off by default (to preserve current behavior). Combination of patches by Sebastian Pop and Brendon Cahoon.
Diff Detail
Event TimelineComment Actions The change looks good to me. @evandro do you think we would need to generate more post-increment addressing modes for aarch64 as well? This revision is now accepted and ready to land.Mar 23 2018, 4:31 PM Closed by commit rL328490: [LSR] Allow giving priority to post-incrementing addressing modes (authored by kparzysz). · Explain WhyMar 26 2018, 6:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 139376 include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Transforms/Scalar/LoopStrengthReduce.cpp
|