defensive patch: if CGP is merging a block with the entry block, make sure
authorChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 19:29:14 +0000 (19:29 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 19:29:14 +0000 (19:29 +0000)
commit9918fb5631974f2201a640384b7ebe672c749e43
tree3699563820d30ccf9b3f6c8eb8b5de5c3cb014c2
parent3d86d242c69a26ba2e6102f32b00b04884c4c9b1
defensive patch: if CGP is merging a block with the entry block, make sure
it ends up being the entry block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60180 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp