Revert r166390 "LoopIdiom: Replace custom dependence analysis with LoopDependenceAnal...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 21 Oct 2012 19:31:16 +0000 (19:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 21 Oct 2012 19:31:16 +0000 (19:31 +0000)
commit3740e798bc850cd5d40185959801606433b0221f
tree26d962a8e16eb8ad39e70df89c4ef7c8ea51fefe
parent56acf63e35440068935bca999d19a81f76e876d6
Revert r166390 "LoopIdiom: Replace custom dependence analysis with LoopDependenceAnalysis."

It passes all tests, produces better results than the old code but uses the
wrong pass, LoopDependenceAnalysis, which is old and unmaintained. "Why is it
still in tree?", you might ask. The answer is obviously: "To confuse developers."

Just swapping in the new dependency pass sends the pass manager into an infinte
loop, I'll try to figure out why tomorrow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/multi-dimensional.ll [deleted file]
test/Transforms/LoopIdiom/sideeffect.ll [deleted file]