]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr57877.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr57877.c.s
1 .text
2 .file "pr57877.c"
3 .section .text.main,"ax",@progbits
4 .hidden main # -- Begin function main
5 .globl main
6 .type main,@function
7 main: # @main
8 .result i32
9 .local i64, i32, i32, i32, i32, i32
10 # BB#0: # %entry
11 block
12 block
13 i32.const $push15=, 0
14 i32.load $push14=, g($pop15)
15 tee_local $push13=, $4=, $pop14
16 i32.const $push12=, 1
17 i32.lt_s $push0=, $pop13, $pop12
18 br_if 0, $pop0 # 0: down to label1
19 # BB#1: # %entry.foo.exit_crit_edge
20 i32.const $push16=, 0
21 i32.load $5=, e($pop16)
22 br 1 # 1: down to label0
23 .LBB0_2: # %for.body.lr.ph.i
24 end_block # label1:
25 i32.const $push19=, 0
26 i64.load32_s $0=, f($pop19)
27 i32.const $push1=, -1
28 i32.add $4=, $4, $pop1
29 i32.const $push18=, 0
30 i32.load $2=, a($pop18)
31 i32.const $push17=, 0
32 i32.load $1=, c($pop17)
33 .LBB0_3: # %for.body.i
34 # =>This Inner Loop Header: Depth=1
35 loop # label2:
36 i32.const $push33=, 0
37 i32.load $push32=, 0($1)
38 tee_local $push31=, $3=, $pop32
39 i32.store h($pop33), $pop31
40 i32.const $push30=, 0
41 i32.const $push29=, 2
42 i32.add $push2=, $4, $pop29
43 i32.store g($pop30), $pop2
44 i32.const $push28=, 0
45 i32.const $push27=, 16
46 i32.shl $push3=, $3, $pop27
47 i32.const $push26=, 16
48 i32.shr_s $push4=, $pop3, $pop26
49 i32.eq $push5=, $pop4, $2
50 i64.extend_u/i32 $push6=, $pop5
51 i64.lt_u $push25=, $pop6, $0
52 tee_local $push24=, $5=, $pop25
53 i32.store e($pop28), $pop24
54 i32.const $push23=, 1
55 i32.add $push22=, $4, $pop23
56 tee_local $push21=, $4=, $pop22
57 i32.const $push20=, 0
58 i32.lt_s $push7=, $pop21, $pop20
59 br_if 0, $pop7 # 0: up to label2
60 # BB#4: # %for.cond.for.end_crit_edge.i
61 end_loop
62 i32.const $push8=, 0
63 i32.store16 d($pop8), $3
64 .LBB0_5: # %foo.exit
65 end_block # label0:
66 block
67 i32.const $push9=, 1
68 i32.ne $push10=, $5, $pop9
69 br_if 0, $pop10 # 0: down to label3
70 # BB#6: # %if.end
71 i32.const $push11=, 0
72 return $pop11
73 .LBB0_7: # %if.then
74 end_block # label3:
75 call abort@FUNCTION
76 unreachable
77 .endfunc
78 .Lfunc_end0:
79 .size main, .Lfunc_end0-main
80 # -- End function
81 .hidden b # @b
82 .type b,@object
83 .section .bss.b,"aw",@nobits
84 .globl b
85 .p2align 2
86 b:
87 .int32 0 # 0x0
88 .size b, 4
89
90 .hidden c # @c
91 .type c,@object
92 .section .data.c,"aw",@progbits
93 .globl c
94 .p2align 2
95 c:
96 .int32 b
97 .size c, 4
98
99 .hidden f # @f
100 .type f,@object
101 .section .data.f,"aw",@progbits
102 .globl f
103 .p2align 2
104 f:
105 .int32 6 # 0x6
106 .size f, 4
107
108 .hidden a # @a
109 .type a,@object
110 .section .bss.a,"aw",@nobits
111 .globl a
112 .p2align 2
113 a:
114 .int32 0 # 0x0
115 .size a, 4
116
117 .hidden e # @e
118 .type e,@object
119 .section .bss.e,"aw",@nobits
120 .globl e
121 .p2align 2
122 e:
123 .int32 0 # 0x0
124 .size e, 4
125
126 .hidden g # @g
127 .type g,@object
128 .section .bss.g,"aw",@nobits
129 .globl g
130 .p2align 2
131 g:
132 .int32 0 # 0x0
133 .size g, 4
134
135 .hidden h # @h
136 .type h,@object
137 .section .bss.h,"aw",@nobits
138 .globl h
139 .p2align 2
140 h:
141 .int32 0 # 0x0
142 .size h, 4
143
144 .hidden d # @d
145 .type d,@object
146 .section .bss.d,"aw",@nobits
147 .globl d
148 .p2align 1
149 d:
150 .int16 0 # 0x0
151 .size d, 2
152
153
154 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
155 .functype abort, void