Fix an error in BBVectorize important for vectorizing pointer types.
authorHal Finkel <hfinkel@anl.gov>
Sat, 14 Apr 2012 07:32:50 +0000 (07:32 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 14 Apr 2012 07:32:50 +0000 (07:32 +0000)
commitbba23ed672c4cedd61a302497f45bf6f53fec7b2
tree995b28fd29bf5cb8fb120b8d9aa5a686d06912ab
parentf3f5a1e6f77a842ccb24cc81766437da5197d712
Fix an error in BBVectorize important for vectorizing pointer types.

When vectorizing pointer types it is important to realize that potential
pairs cannot be connected via the address pointer argument of a load or store.
This is because even after vectorization, the address is still a scalar because
the address of the higher half of the pair is implicit from the address of the
lower half (it need not be, and should not be, explicitly computed).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154735 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/BBVectorize.cpp
test/Transforms/BBVectorize/no-ldstr-conn.ll [new file with mode: 0644]