diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-20 08:26:33 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-20 08:26:33 +0000 |
commit | bf8772ed2cc89a495e2692919331d7a03e76d791 (patch) | |
tree | 3c1faa44bfb500db8f771c28f2229a0c90b5e41a /test/Transforms/InstCombine/select.ll | |
parent | 71a148223907504c78f90f835131d5e8921011ad (diff) | |
download | external_llvm-bf8772ed2cc89a495e2692919331d7a03e76d791.zip external_llvm-bf8772ed2cc89a495e2692919331d7a03e76d791.tar.gz external_llvm-bf8772ed2cc89a495e2692919331d7a03e76d791.tar.bz2 |
Vectorize: teach cavVectorizeMemory to distinguish between A[i]+=x and A[B[i]]+=x.
If the pointer is consecutive then it is safe to read and write. If the pointer is non-loop-consecutive then
it is unsafe to vectorize it because we may hit an ordering issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/select.ll')
0 files changed, 0 insertions, 0 deletions