1 ; RUN: llvm-as < %s | opt -predsimplify -disable-output
2 target datalayout = "e-p:32:32"
3 target triple = "i686-pc-linux-gnu"
5 define void @f(i32 %x, i32 %y) {
7 %tmp = icmp eq i32 %x, 10 ; <i1> [#uses=1]
8 %tmp.not = xor i1 %tmp, true ; <i1> [#uses=1]
9 %tmp3 = icmp eq i32 %x, %y ; <i1> [#uses=1]
10 %bothcond = and i1 %tmp.not, %tmp3 ; <i1> [#uses=1]
11 br i1 %bothcond, label %cond_true4, label %return
12 cond_true4: ; preds = %entry
13 switch i32 %y, label %return [
17 bb: ; preds = %cond_true4
20 bb6: ; preds = %cond_true4
21 call void @g( i32 10 )
23 return: ; preds = %cond_true4, %entry