1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
4 %struct..0anon = type { i32 }
5 %struct.binding_level = type { %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.binding_level*, i8, i8, i8, i8, i8, i32, %struct.tree_node* }
6 %struct.lang_decl = type opaque
7 %struct.rtx_def = type { i16, i8, i8, [1 x %struct..0anon] }
8 %struct.tree_decl = type { [12 x i8], i8*, i32, %struct.tree_node*, i32, i8, i8, i8, i8, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.rtx_def*, %struct..0anon, { %struct.rtx_def* }, %struct.tree_node*, %struct.lang_decl* }
9 %struct.tree_node = type { %struct.tree_decl }
11 define fastcc %struct.tree_node* @pushdecl(%struct.tree_node* %x) nounwind {
12 ; CHECK-LABEL: pushdecl:
13 ; CHECK: # %bb.0: # %entry
14 ; CHECK-NEXT: movb $1, %al
15 ; CHECK-NEXT: testb %al, %al
16 ; CHECK-NEXT: jne .LBB0_1
17 ; CHECK-NEXT: # %bb.2: # %bb17.i
18 ; CHECK-NEXT: xorl %eax, %eax
20 ; CHECK-NEXT: .LBB0_1: # %bb160
21 ; CHECK-NEXT: movb $1, %al
22 ; CHECK-NEXT: testb %al, %al
23 ; CHECK-NEXT: xorl %eax, %eax
26 %tmp3.i40 = icmp eq %struct.binding_level* null, null ; <i1> [#uses=2]
28 bb140: ; preds = %entry
29 br i1 %tmp3.i40, label %bb160, label %bb17.i
30 bb17.i: ; preds = %bb140
31 ret %struct.tree_node* null
32 bb143: ; preds = %entry
33 %tmp8.i43 = load %struct.tree_node*, %struct.tree_node** null, align 4 ; <%struct.tree_node*> [#uses=1]
34 br i1 %tmp3.i40, label %bb160, label %bb9.i48
35 bb9.i48: ; preds = %bb143
36 ret %struct.tree_node* null
37 bb160: ; preds = %bb143, %bb140
38 %t.0.reg2mem.0 = phi %struct.tree_node* [ null, %bb140 ], [ %tmp8.i43, %bb143 ] ; <%struct.tree_node*> [#uses=1]
39 %tmp162 = icmp eq %struct.tree_node* %t.0.reg2mem.0, null ; <i1> [#uses=2]
40 br i1 %tmp162, label %bb174, label %bb165
41 bb165: ; preds = %bb160
43 bb174: ; preds = %bb165, %bb160
44 %line.0 = phi i32 [ 0, %bb165 ], [ undef, %bb160 ] ; <i32> [#uses=1]
45 %file.0 = phi i8* [ null, %bb165 ], [ undef, %bb160 ] ; <i8*> [#uses=1]
46 br i1 %tmp162, label %bb344, label %bb73.i
47 bb73.i: ; preds = %bb174
48 br i1 false, label %bb226.i, label %bb220.i
49 bb220.i: ; preds = %bb73.i
50 ret %struct.tree_node* null
51 bb226.i: ; preds = %bb73.i
52 br i1 false, label %bb260, label %bb273.i
53 bb273.i: ; preds = %bb226.i
54 ret %struct.tree_node* null
55 bb260: ; preds = %bb226.i
56 tail call void (i8*, i32, ...) @pedwarn_with_file_and_line( i8* %file.0, i32 %line.0, i8* null ) nounwind
57 ret %struct.tree_node* null
58 bb344: ; preds = %bb174
59 ret %struct.tree_node* null
62 declare void @pedwarn_with_file_and_line(i8*, i32, ...) nounwind