When a loop is deleted, immediately release all of the active
authorDan Gohman <gohman@apple.com>
Sun, 27 Sep 2009 23:43:07 +0000 (23:43 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 27 Sep 2009 23:43:07 +0000 (23:43 +0000)
commit9702901a1efb85792c35dc33831583e9e4045cf7
tree7035d744d8a770f8a49bc081c9043cd9bd5a3d57
parent27a8fb8a546ec5d39b057bfe2ee5c36a8e454f09
When a loop is deleted, immediately release all of the active
LoopPasses for that loop. This avoids trouble with the PassManager
trying to call verifyAnalysis on them, and frees up some memory
sooner rather than later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LoopPass.cpp