Fix a goof with my previous commit by completely returning when we
authorChandler Carruth <chandlerc@gmail.com>
Fri, 4 May 2012 11:14:19 +0000 (11:14 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 4 May 2012 11:14:19 +0000 (11:14 +0000)
commit6a81f64ab6bfda1d17de5b405b3b47f67697c3bc
tree9dd305c39879331daa3f40758f3cd62ae35865e9
parent27742c1a76634312bc28cf37e89c83209576149f
Fix a goof with my previous commit by completely returning when we
detect an in-eligible block rather than just breaking out of the loop.

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