OSDN Git Service

[LAA] Improve non-wrapping pointer detection by handling loop-invariant case.
authorAndrey Turetskiy <andrey.turetskiy@gmail.com>
Tue, 7 Jun 2016 14:55:27 +0000 (14:55 +0000)
committerAndrey Turetskiy <andrey.turetskiy@gmail.com>
Tue, 7 Jun 2016 14:55:27 +0000 (14:55 +0000)
commita87b055656b2e8a8f28ca5fc1c272a250366053c
tree5dd4a614b9dbf39c2f3484e59ea32ce3bcdc5f86
parent007ac9990e8207fe05f35f163e43ef693bc83894
[LAA] Improve non-wrapping pointer detection by handling loop-invariant case.

This fixes PR26314. This patch adds new helper “isNoWrap” with detection of
loop-invariant pointer case.

Patch by Roman Shirokiy.

Ref: https://llvm.org/bugs/show_bug.cgi?id=26314

Differential Revision: http://reviews.llvm.org/D17268

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272014 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LoopAccessAnalysis.cpp
test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/multiple-strides-vectorization.ll [new file with mode: 0644]