Use the getUniquePredecessor() utility function, instead of doing
authorDan Gohman <gohman@apple.com>
Tue, 17 Aug 2010 17:07:02 +0000 (17:07 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 17 Aug 2010 17:07:02 +0000 (17:07 +0000)
commit1c034dcbbc86674cc146340a877495f71d9a2569
tree6806b91a50c033b9165537bc0c3f55c3b08b1fd8
parenteb97677764beb115c658ac559d3649c6c4068eb9
Use the getUniquePredecessor() utility function, instead of doing
what it does manually.

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