OSDN Git Service

[LIR] Factor out the code to compute base ptr for negative strided loops.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 13 Nov 2015 19:11:07 +0000 (19:11 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 13 Nov 2015 19:11:07 +0000 (19:11 +0000)
commit2f2a7ed5df8af461bb38a95432007b20bdb8c742
treea8104e538d4225a7a0dc904e8110afe0ace5bf51
parent04538c959e391123e095e7b58699f14004627717
[LIR] Factor out the code to compute base ptr for negative strided loops.

This will allow for the code to be reused in the memcpy optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253061 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp