diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2016-06-27 11:19:23 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2016-06-27 11:19:23 +0000 |
commit | 4c58b2761a73b962631a6405c66fc14835cb62c6 (patch) | |
tree | cb14133196f0ce86cc0f8e42ec20c3cf7fe9fa11 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | c6dc90ef87fbf0789d31ff5f1114916747e05405 (diff) | |
download | bcm5719-llvm-4c58b2761a73b962631a6405c66fc14835cb62c6.tar.gz bcm5719-llvm-4c58b2761a73b962631a6405c66fc14835cb62c6.zip |
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 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions