1 ; This test shows a case where SCCP is incorrectly eliminating the PHI node
2 ; because it thinks it has a constant 0 value, when it really doesn't.
4 ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep phi
6 int "test"(int %A, bool %c) {
10 %V = phi int [0, %bb1], [%A, %BB4]
14 br bool %c, label %BB4, label %BB5