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)
commit8999f4777b920ab144a15a6f54a865a07f9c4a7f
treee38fa6c04001dbf36df639e5c94473a2cad6197c
parentb2b2273ef4b67b7da4c05472095b8b96cc04ca8d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp