If the predicated block requires an early exit, end the block there and add a uncondi...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 5 Jun 2007 01:31:40 +0000 (01:31 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 5 Jun 2007 01:31:40 +0000 (01:31 +0000)
commit8ed680cce3d0cff361f352abce75a917093f0656
tree7902583bf12479dad9485c47918cc83a6f6ba575
parentf5305f9cc767ac18c258b03425c2c26345003acc
If the predicated block requires an early exit, end the block there and add a unconditional branch to false block. AnalyzeBranch() does not understand early exits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37430 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IfConversion.cpp