[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)
commit5f8cc0c3469ba3a7aa440b43aaababa3a6274213
treee4b063670dce5b8520c826897e523a2f99cea801
parent6c21e6a54e7aa2eb9878b1075eade08d4fdb9f32
[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

llvm-svn: 281853
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/consec_no_gep.ll [new file with mode: 0644]