LoopDeletion needs to inform ScalarEvolution when a loop is deleted,
authorDan Gohman <gohman@apple.com>
Mon, 23 Feb 2009 17:10:29 +0000 (17:10 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 23 Feb 2009 17:10:29 +0000 (17:10 +0000)
commite2abdd3ff0dd54a59edbd114ebb1d7728040a2d9
tree52bb762d44c28adbae6584b38ab1b56ac17e51f7
parent834db732ba19efaa7cdcd74036ee167b4e818c7b
LoopDeletion needs to inform ScalarEvolution when a loop is deleted,
so that ScalarEvolution doesn't hang onto a dangling Loop*, which
could be a problem if another Loop happens to get allocated at the
same address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65323 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopDeletion.cpp