aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSummaryIndexObjectFile.cpp
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2016-06-27 11:19:23 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2016-06-27 11:19:23 +0000
commit4c58b2761a73b962631a6405c66fc14835cb62c6 (patch)
treecb14133196f0ce86cc0f8e42ec20c3cf7fe9fa11 /llvm/lib/Object/ModuleSummaryIndexObjectFile.cpp
parentc6dc90ef87fbf0789d31ff5f1114916747e05405 (diff)
downloadllvm-4c58b2761a73b962631a6405c66fc14835cb62c6.zip
llvm-4c58b2761a73b962631a6405c66fc14835cb62c6.tar.gz
llvm-4c58b2761a73b962631a6405c66fc14835cb62c6.tar.bz2
Fixed consecutive memory access detection in Loop Vectorizer.
It did not handle correctly cases without GEP. The following loop wasn't vectorized: for (int i=0; i<len; i++) *to++ = *from++; I use getPtrStride() to find Stride for memory access and return 0 is the Stride is not 1 or -1. Re-commit rL273257 - revision: http://reviews.llvm.org/D20789 llvm-svn: 273864
Diffstat (limited to 'llvm/lib/Object/ModuleSummaryIndexObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions