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 139782 llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h
llvm/trunk/lib/Analysis/TargetTransformInfo.cpp
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
|