reapply: SLPVectorizer: Cache results from memory alias checking.
authorErik Eckstein <eeckstein@apple.com>
Wed, 14 Jan 2015 11:24:47 +0000 (11:24 +0000)
committerErik Eckstein <eeckstein@apple.com>
Wed, 14 Jan 2015 11:24:47 +0000 (11:24 +0000)
commitd6238e7b7e3e01fdcb30dac67d888f3cc3c6ec3b
treee6392d7d233ce1a07416a5d8491ec6c1c8babfa5
parent1b279144ecc41e788f7173892dfcc89f7ee6772a
reapply: SLPVectorizer: Cache results from memory alias checking.

This speeds up the dependency calculations for blocks with many load/store/call instructions.
Beside the improved runtime, there is no functional change.

Compared to the original commit, this re-applied commit contains a bug fix which ensures that there are
no incorrect collisions in the alias cache.

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