OSDN Git Service

[LSR] Allow giving priority to post-incrementing addressing modes
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 26 Mar 2018 13:10:09 +0000 (13:10 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 26 Mar 2018 13:10:09 +0000 (13:10 +0000)
commit48972e6c8f973ce079eb9d938f74d5b3858c65bd
tree0fac2262f35c087f470fbc16d1a210dff6e2f276
parent181ce9f60922e33bdac999921a9f6ec2c476c1be
[LSR] Allow giving priority to post-incrementing addressing modes

Implement TTI interface for targets to indicate that the LSR should give
priority to post-incrementing addressing modes.

Combination of patches by Sebastian Pop and Brendon Cahoon.

Differential Revision: https://reviews.llvm.org/D44758

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328490 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Transforms/Scalar/LoopStrengthReduce.cpp