Remove the block from the LoopInfo, rather than just the Loop.
authorDan Gohman <gohman@apple.com>
Sat, 27 Jun 2009 22:32:36 +0000 (22:32 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 27 Jun 2009 22:32:36 +0000 (22:32 +0000)
commita1baee20c4b042eca1f182fc003f38ab52efc7a9
treed14362702b86f8b982625652ea2c4075812f7f3c
parent4b35f83b91a1a313f0730c600e5178aaf7df98d6
Remove the block from the LoopInfo, rather than just the Loop.
LoopInfo will handle removing it from the Loop, as well as updating
its own tables.

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