[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)
commitc28ffdcf3500edb14e70a779d263259208354442
tree2be3e7233b8d107d5bc6ebfab201efeac57e2123
parent5985971fa57d0151db3b96b5c4318232b65d1a98
[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.

llvm-svn: 227751
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp