]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/torture-s/930628-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 930628-1.c.s
CommitLineData
abe05a73
XL
1 .text
2 .file "930628-1.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7f: # @f
8 .param i32, i32
9 .result i32
10# BB#0: # %entry
11 block
12 i32.eq $push0=, $0, $1
13 br_if 0, $pop0 # 0: down to label0
14# BB#1: # %if.end
15 return $0
16.LBB0_2: # %if.then
17 end_block # label0:
18 call abort@FUNCTION
19 unreachable
20 .endfunc
21.Lfunc_end0:
22 .size f, .Lfunc_end0-f
23 # -- End function
24 .section .text.main,"ax",@progbits
25 .hidden main # -- Begin function main
26 .globl main
27 .type main,@function
28main: # @main
29 .result i32
30 .local i32, i32
31# BB#0: # %entry
32 i32.const $1=, -1
33 i32.const $0=, 0
34.LBB1_1: # %for.body3
35 # =>This Inner Loop Header: Depth=1
36 block
37 loop # label2:
38 block
39 i32.eqz $push25=, $0
40 br_if 0, $pop25 # 0: down to label3
41# BB#2: # %if.else
42 # in Loop: Header=BB1_1 Depth=1
43 i32.eqz $push26=, $0
44 br_if 2, $pop26 # 2: down to label1
45.LBB1_3: # %if.end.1.1
46 # in Loop: Header=BB1_1 Depth=1
47 end_block # label3:
48 i32.const $push9=, -64
49 i32.add $0=, $0, $pop9
50 i32.const $push8=, 1
51 i32.add $push7=, $1, $pop8
52 tee_local $push6=, $1=, $pop7
53 i32.const $push5=, 3
54 i32.lt_u $push0=, $pop6, $pop5
55 br_if 0, $pop0 # 0: up to label2
56# BB#4: # %for.inc45
57 end_loop
58 i32.const $0=, 0
59 i32.const $1=, 0
60.LBB1_5: # %for.body3.1
61 # =>This Inner Loop Header: Depth=1
62 loop # label4:
63 block
64 i32.eqz $push27=, $0
65 br_if 0, $pop27 # 0: down to label5
66# BB#6: # %if.else.1
67 # in Loop: Header=BB1_5 Depth=1
68 i32.eqz $push28=, $0
69 br_if 2, $pop28 # 2: down to label1
70.LBB1_7: # %if.end.1.1.1
71 # in Loop: Header=BB1_5 Depth=1
72 end_block # label5:
73 i32.const $push14=, -64
74 i32.add $0=, $0, $pop14
75 i32.const $push13=, 1
76 i32.add $push12=, $1, $pop13
77 tee_local $push11=, $1=, $pop12
78 i32.const $push10=, 3
79 i32.lt_u $push1=, $pop11, $pop10
80 br_if 0, $pop1 # 0: up to label4
81# BB#8: # %for.inc45.1
82 end_loop
83 i32.const $0=, 0
84 i32.const $1=, 1
85.LBB1_9: # %for.body3.2
86 # =>This Inner Loop Header: Depth=1
87 loop # label6:
88 block
89 i32.eqz $push29=, $0
90 br_if 0, $pop29 # 0: down to label7
91# BB#10: # %if.else.2
92 # in Loop: Header=BB1_9 Depth=1
93 i32.eqz $push30=, $0
94 br_if 2, $pop30 # 2: down to label1
95.LBB1_11: # %if.end.1.1.2
96 # in Loop: Header=BB1_9 Depth=1
97 end_block # label7:
98 i32.const $push19=, -64
99 i32.add $0=, $0, $pop19
100 i32.const $push18=, 1
101 i32.add $push17=, $1, $pop18
102 tee_local $push16=, $1=, $pop17
103 i32.const $push15=, 3
104 i32.lt_u $push2=, $pop16, $pop15
105 br_if 0, $pop2 # 0: up to label6
106# BB#12: # %for.inc45.2
107 end_loop
108 i32.const $1=, 2
109 i32.const $0=, 0
110.LBB1_13: # %for.body3.3
111 # =>This Inner Loop Header: Depth=1
112 loop # label8:
113 block
114 i32.eqz $push31=, $0
115 br_if 0, $pop31 # 0: down to label9
116# BB#14: # %if.else.3
117 # in Loop: Header=BB1_13 Depth=1
118 i32.eqz $push32=, $0
119 br_if 2, $pop32 # 2: down to label1
120.LBB1_15: # %if.end.1.1.3
121 # in Loop: Header=BB1_13 Depth=1
122 end_block # label9:
123 i32.const $push24=, -64
124 i32.add $0=, $0, $pop24
125 i32.const $push23=, 1
126 i32.add $push22=, $1, $pop23
127 tee_local $push21=, $1=, $pop22
128 i32.const $push20=, 3
129 i32.lt_u $push3=, $pop21, $pop20
130 br_if 0, $pop3 # 0: up to label8
131# BB#16: # %for.inc45.3
132 end_loop
133 i32.const $push4=, 0
134 call exit@FUNCTION, $pop4
135 unreachable
136.LBB1_17: # %if.then.i
137 end_block # label1:
138 call abort@FUNCTION
139 unreachable
140 .endfunc
141.Lfunc_end1:
142 .size main, .Lfunc_end1-main
143 # -- End function
144
145 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
146 .functype abort, void
147 .functype exit, void, i32