[LoopVectorize] Split out LoopAccessAnalysis from LoopVectorizationLegality
authorAdam Nemet <anemet@apple.com>
Sun, 1 Feb 2015 16:56:04 +0000 (16:56 +0000)
committerAdam Nemet <anemet@apple.com>
Sun, 1 Feb 2015 16:56:04 +0000 (16:56 +0000)
commit114a93ecd26b1b2befbea5cd3edeedb9da8718c3
treeb982e2e528fdd94ca8576d02b1514f4b6ad2eae3
parentbddcf8ba3a2747c225a467ee5a95e8043659bfae
[LoopVectorize] Split out LoopAccessAnalysis from LoopVectorizationLegality

Move the canVectorizeMemory functionality from LoopVectorizationLegality to a
new class LoopAccessAnalysis and forward users.

Currently the collection of the symbolic stride information is kept with
LoopVectorizationLegality and it becomes an input to LoopAccessAnalysis.

NFC.  This is part of the patchset that splits out the memory dependence logic
from LoopVectorizationLegality into a new class LoopAccessAnalysis.
LoopAccessAnalysis will be used by the new Loop Distribution pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp