Skip to content
Commit d189b82a authored by Nadav Rotem's avatar Nadav Rotem
Browse files

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
parent 206e0eca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment