blob: abdea03c55c0d5525d5f00eb9a4cda95678bf1c3 [file] [log] [blame]
Chris Lattner1aed1c72004-02-27 17:26:08 +00001; %inc2 uses it's own value, but that's ok, as it's unreachable!
2
3void %test() {
4entry:
5 ret void
6
7no_exit.2: ; preds = %endif.6
8 %tmp.103 = setlt double 0x0, 0x0 ; <bool> [#uses=1]
9 br bool %tmp.103, label %endif.6, label %else.0
10
11else.0: ; preds = %no_exit.2
12 store ushort 0, ushort* null
13 br label %endif.6
14
15endif.6: ; preds = %no_exit.2, %else.0
16 %inc.2 = add int %inc.2, 1 ; <int> [#uses=2]
17 %tmp.96 = setlt int %inc.2, 0 ; <bool> [#uses=1]
18 br bool %tmp.96, label %no_exit.2, label %UnifiedReturnBlock1
19
20UnifiedReturnBlock1: ; preds = %endif.6
21 ret void
22}
23