Handle single-entry PHI nodes correctly. This fixes PR877 and
authorChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 21:38:05 +0000 (21:38 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 21:38:05 +0000 (21:38 +0000)
commitdf32aac51b611633301e4a2eb5824c9afa7bd674
tree455031a305d4fd84c1760e0dc415b4921f34bc7d
parenta7174736fa0c4409d10fabd221ffc057ed03918c
Handle single-entry PHI nodes correctly.  This fixes PR877 and
Transforms/CondProp/2006-08-14-SingleEntryPhiCrash.ll

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