Fix for a regression caused by the LoopVectorizer when
authorPekka Jaaskelainen <pekka.jaaskelainen@tut.fi>
Mon, 17 Jun 2013 18:49:06 +0000 (18:49 +0000)
committerPekka Jaaskelainen <pekka.jaaskelainen@tut.fi>
Mon, 17 Jun 2013 18:49:06 +0000 (18:49 +0000)
commita8a04380c597e1cdb8d635abd9e2669eab401545
tree42687bdf643a38c0f5184c3ac98281c3c86cb9e6
parentb81784f0fe8aac20a6ed320851ca1f642175ebc3
Fix for a regression caused by the LoopVectorizer when
vectorizing loops with memory accesses to non-zero address spaces. It
simply dropped the AS info. Fixes PR16306.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184103 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/multiple-address-spaces.ll [new file with mode: 0644]