]> granicus.if.org Git - llvm/commit
[LoopVectorize] Added address space check when analysing interleaved accesses
authorKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>
Wed, 22 Feb 2017 18:37:36 +0000 (18:37 +0000)
committerKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>
Wed, 22 Feb 2017 18:37:36 +0000 (18:37 +0000)
commit29fec22c973a13b1670e144b8fd65767722e3012
treead668f31b7dfe660e44774ef9c657661899a91d4
parent2be1878c67ccc7da52bf7fa57f0e39eaf6e3aec9
[LoopVectorize] Added address space check when analysing interleaved accesses

Prevent memory objects of different address spaces to be part of
the same load/store groups when analysing interleaved accesses.

This is fixing pr31900.

Reviewers: HaoLiu, mssimpso, mkuper

Reviewed By: mssimpso, mkuper

Subscribers: llvm-commits, efriedma, mzolotukhin

Differential Revision: https://reviews.llvm.org/D29717

This reverts r295042 (re-applies r295038) with an additional fix for the
buildbot problem.

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