LoopSimplify: Preserve DependenceAnalysis.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Oct 2012 17:40:50 +0000 (17:40 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Oct 2012 17:40:50 +0000 (17:40 +0000)
commit77360858947233335d88f2fe9e698f3c06eb6d58
tree6b27ff5733e41cbcb57718104c0bc984a6484dfe
parente3d821a4664bc793a32166eb5ea9319c70ee7f9a
LoopSimplify: Preserve DependenceAnalysis.

This is currently true, but may change when DA grows more aggressive caching.
Without this setting it's impossible to use DA from a LoopPass because DA is a
function pass and cannot be properly scheduled in between LoopPasses. The
LoopManager reacts to this with an infinite loop which made this really annoying
to debug.

llvm-svn: 166788
llvm/lib/Transforms/Utils/LoopSimplify.cpp