Check the terminator, not the basic block.
authorBill Wendling <isanbard@gmail.com>
Tue, 20 Sep 2011 20:20:50 +0000 (20:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 20 Sep 2011 20:20:50 +0000 (20:20 +0000)
commit8c93d5b602377e9860c32a1367fc697d9684e3ee
tree551bbf70ca807ad9b3b0aedf719f9f943e50a8e1
parent2f1cd85598d260e5567804460e87f8bee0c5e1e5
Check the terminator, not the basic block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140176 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/LoopExtractor.cpp