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 | d189b82a9b92bd1f375fc9a942773aeb5b266765 (patch) | |
tree | d53eaac6ccec31f2ef0279c744e2cec13dde37d4 /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | 206e0ecaa2967be819e223b0ba19751134a95c75 (diff) | |
download | bcm5719-llvm-d189b82a9b92bd1f375fc9a942773aeb5b266765.tar.gz bcm5719-llvm-d189b82a9b92bd1f375fc9a942773aeb5b266765.zip |
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.
llvm-svn: 166371
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
0 files changed, 0 insertions, 0 deletions