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)
commitf77f224df9e85747fba87968ad8f812d4528e532
treea9c20296397d9e3e4783c532c13000802c7f28de
parentfd4ced2c5200879d337a52799f076456817e5095
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.

llvm-svn: 166399
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
llvm/test/Transforms/LoopIdiom/multi-dimensional.ll [deleted file]
llvm/test/Transforms/LoopIdiom/sideeffect.ll [deleted file]