use AddPredecessorToBlock in 3 places instead of a manual loop.
authorChris Lattner <sabre@nondot.org>
Tue, 14 Dec 2010 07:09:42 +0000 (07:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Dec 2010 07:09:42 +0000 (07:09 +0000)
commit6de0a28dfb84095ebd7775f371dd4085cf955076
tree5a9e367533241bb25a952c6b588226cf8858ab03
parent73c50a68a7e26b59db54df86e9cc87eed5034bf4
use AddPredecessorToBlock in 3 places instead of a manual loop.

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