Rewrite multiple return value handling in SCCP. Before, the -sccp pass
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 05:38:20 +0000 (05:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 05:38:20 +0000 (05:38 +0000)
commitc6ee00b8eec0a682f25810c7912272cd76c87a2c
treebd5bb5e9c946db4ef77ef0c4e9b55f8ab6dbb5b6
parenta925a14698fd58b495083542df16e6096aee6f37
Rewrite multiple return value handling in SCCP.  Before, the -sccp pass
would turn every getresult instruction into undef.  This helps with
rdar://5778210

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll [new file with mode: 0644]