1 ; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -disable-output
5 target pointersize = 32
6 target triple = "i686-pc-linux-gnu"
8 implementation ; Functions:
10 void %f(int %x, int %y) {
12 %tmp = seteq int %x, 10 ; <bool> [#uses=1]
13 %tmp.not = xor bool %tmp, true ; <bool> [#uses=1]
14 %tmp3 = seteq int %x, %y ; <bool> [#uses=1]
15 %bothcond = and bool %tmp.not, %tmp3 ; <bool> [#uses=1]
16 br bool %bothcond, label %cond_true4, label %return
18 cond_true4: ; preds = %entry
19 switch int %y, label %return [
24 bb: ; preds = %cond_true4
28 bb6: ; preds = %cond_true4
29 call void %g( int 10 )
32 return: ; preds = %cond_true4, %entry