BBVectorize: Fix a small bug introduced in r167042.
authorHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 19:47:37 +0000 (19:47 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 19:47:37 +0000 (19:47 +0000)
commit8a69a95f913dadae92d2ce0b3ac551610bf868e0
tree09ab18d5479231040fea2ddea06263ce8ce7db71
parentb33b34a7dc447cf52702b8892c9829344e81f73a
BBVectorize: Fix a small bug introduced in r167042.

We need to make sure that we take the correct load/store alignment
when the inputs are flipped.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167044 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/BBVectorize.cpp
test/Transforms/BBVectorize/simple-ldstr.ll