LoopInfo::updateUnloop fix, and verify Block->Loop maps.
authorAndrew Trick <atrick@apple.com>
Fri, 26 Aug 2011 03:06:34 +0000 (03:06 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 26 Aug 2011 03:06:34 +0000 (03:06 +0000)
commit5434c1e73b6e56756719d2aebb952ac7bb3829e0
treeac6be0bd94234dd667f1f6f448e3c09bc02fd8fc
parent069e2ed794a90cb5108a35627ee148866795f140
LoopInfo::updateUnloop fix, and verify Block->Loop maps.

Fixes an oversight, and adds verification to catch it in the unloop.ll tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138622 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopInfo.h
lib/Analysis/LoopInfo.cpp