blob: 27e3169337347977a0f825953c2f8388868c09e6 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -simplifycfg | llvm-dis | not grep br
2
3%.str_1 = internal constant [6 x sbyte] c"_Bool\00" ; <[6 x sbyte]*> [#uses=1]
4
5implementation
6
7int %test() {
8 %tmp.54 = load sbyte* getelementptr (sbyte* getelementptr ([6 x sbyte]* %.str_1, long 0, long 0), long 1)
9 ; <sbyte> [#uses=1]
10 %tmp.55 = setne sbyte %tmp.54, 66 ; <bool> [#uses=1]
11 br bool %tmp.55, label %then.7, label %endif.7
12then.7:
13 br label %then.7
14endif.7:
15 ret int 0
16
17}
18