1 ; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret i512 undef' | grep 'ret i8 2'
3 define internal i512 @test(i1 %B) {
4 br i1 %B, label %BB1, label %BB2
11 %Ret = phi i512 [%Val, %BB1], [2, %BB2]
18 %t11 = trunc i2 %t1 to i1
19 %t2 = call i512 @test(i1 %t11)
20 %t3 = trunc i512 %t2 to i8