1 ; RUN: llvm-upgrade %s | llvm-as -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
7 %Ret = call int %test(bool true, int 0)
11 int %test(bool %c, int %A) {
12 br bool %c, label %Taken1, label %NotTaken
15 %V = phi int [0, %NotTaken],
16 [ sub (int cast (int* %A to int), int 1234), %Taken1]
24 ; Code got inserted here, breaking the condition code.
25 br bool %B, label %Cont, label %ExitError