Split some code out of the main SimplifyCFG loop into its own function.
authorChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2008 00:01:19 +0000 (00:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2008 00:01:19 +0000 (00:01 +0000)
commitc9e495c534b95a72502d1840293e66fa2e2d6882
treeaf28494e2dcd3651cb3ea1248f161cf16ee4129c
parent3c02aca2380bc95a3ce5799929354612c67cc105
Split some code out of the main SimplifyCFG loop into its own function.
Fix said code to handle merging return instructions together correctly
when handling multiple return values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50199 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/2008-04-23-MergeMultipleResultRet.ll [new file with mode: 0644]