1 ; RUN: opt < %s -instcombine -S | \
2 ; RUN: grep {%bothcond =}
4 define i1 @Doit_bb(i32 %i.0) {
6 %tmp = icmp sgt i32 %i.0, 0 ; <i1> [#uses=1]
7 %tmp.not = xor i1 %tmp, true ; <i1> [#uses=1]
8 %tmp2 = icmp sgt i32 %i.0, 8 ; <i1> [#uses=1]
9 %bothcond = or i1 %tmp.not, %tmp2 ; <i1> [#uses=1]
10 br i1 %bothcond, label %exitTrue, label %exitFalse
12 exitTrue: ; preds = %bb
15 exitFalse: ; preds = %bb