Fix up PHI nodes correctly in the presence of unreachable BBs, part two. Also
authorNick Lewycky <nicholas@mxc.ca>
Wed, 19 Aug 2009 07:16:57 +0000 (07:16 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 19 Aug 2009 07:16:57 +0000 (07:16 +0000)
commit08368ce9847309618a2c80222cba3b2c88f77f88
treea7da2fb87ad4a57290740b5c79d637aebe9cb0c6
parent5371aa2a1c9a4eeecffdb9ab7b2175732e49475b
Fix up PHI nodes correctly in the presence of unreachable BBs, part two. Also
delete a newed pointer, and improve readability a little bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SSI.cpp
test/Transforms/SSI/2009-08-19-UnreachableBB2.ll [new file with mode: 0644]