Reduce the entries in a phi before testing it for deadness, because removing the...
authorOwen Anderson <resistor@mac.com>
Fri, 8 Aug 2008 18:00:05 +0000 (18:00 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 8 Aug 2008 18:00:05 +0000 (18:00 +0000)
commitb12ab97bbdb86e978bbaba62f3dbb402b53010da
tree11b3733d53a09406ad8d7f43ddc73790525f2975
parent42ccc21ce7ae392d9a5c2958786190943fe9aae0
Reduce the entries in a phi before testing it for deadness, because removing the entries might make it dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54535 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/UnreachableBlockElim.cpp