Handle single-entry phi nodes gracefully in condprop.
authorChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 02:18:20 +0000 (02:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 02:18:20 +0000 (02:18 +0000)
commit18f02318a65e176cb165ccff97478a7967aeef86
tree0b13bcb3d3bdd3c45db20e742ae650313c647d15
parent3796a262c50e0b04c1a5a9571f12bb9bc4936c25
Handle single-entry phi nodes gracefully in condprop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62985 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CondPropagate.cpp
test/Transforms/CondProp/2009-01-25-SingleEntryPHI.ll [new file with mode: 0644]