1 ; This test checks to make sure phi nodes are updated properly
3 ; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output
7 int %test(bool %c, int %X, int %Y) {
12 br bool %c, label %T, label %F
15 br bool %c, label %L, label %T
18 %V = phi int [%A, %L], [0, %F]