llvm.org GIT mirror llvm / d039da9
New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29714 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 38 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1
2 %struct..0anon = type { int }
3 %struct.rtx_def = type { ushort, ubyte, ubyte, [1 x %struct..0anon] }
4
5 implementation ; Functions:
6
7 fastcc void %immed_double_const(int %i0, int %i1) {
8 entry:
9 %tmp1 = load uint* null ; [#uses=1]
10 switch uint %tmp1, label %bb103 [
11 uint 1, label %bb
12 uint 3, label %bb
13 ]
14
15 bb: ; preds = %entry, %entry
16 %tmp14 = setgt int 0, 31 ; [#uses=1]
17 br bool %tmp14, label %cond_next77, label %cond_next17
18
19 cond_next17: ; preds = %bb
20 ret void
21
22 cond_next77: ; preds = %bb
23 %tmp79.not = setne int %i1, 0 ; [#uses=1]
24 %tmp84 = setlt int %i0, 0 ; [#uses=2]
25 %bothcond1 = or bool %tmp79.not, %tmp84 ; [#uses=1]
26 br bool %bothcond1, label %bb88, label %bb99
27
28 bb88: ; preds = %cond_next77
29 %bothcond2 = and bool false, %tmp84 ; [#uses=0]
30 ret void
31
32 bb99: ; preds = %cond_next77
33 ret void
34
35 bb103: ; preds = %entry
36 ret void
37 }