]> granicus.if.org Git - llvm/commit
[Loop Vectorizer] Consecutive memory access - fixed and simplified
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Sun, 18 Sep 2016 13:56:08 +0000 (13:56 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Sun, 18 Sep 2016 13:56:08 +0000 (13:56 +0000)
commit305b3f3b5aa3e18be856fd5bd9c289145310188c
treed9b4b50df99251842df81bf5c7d96c4062549743
parent428ba8ee903731c8c92e4ceabe82f6dada24768b
[Loop Vectorizer] Consecutive memory access - fixed and simplified

Amended consecutive memory access detection in Loop Vectorizer.
Load/Store were not handled properly without preceding GEP instruction.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281853 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/consec_no_gep.ll [new file with mode: 0644]