]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr58640.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr58640.c.s
1 .text
2 .file "pr58640.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 # BB#0: # %entry
10 call foo@FUNCTION
11 i32.const $push0=, 0
12 call exit@FUNCTION, $pop0
13 unreachable
14 .endfunc
15 .Lfunc_end0:
16 .size main, .Lfunc_end0-main
17 # -- End function
18 .section .text.foo,"ax",@progbits
19 .type foo,@function # -- Begin function foo
20 foo: # @foo
21 .local i32, i32, i32
22 # BB#0: # %entry
23 block
24 i32.const $push9=, 0
25 i32.load $push8=, b($pop9)
26 tee_local $push7=, $2=, $pop8
27 i32.const $push6=, 0
28 i32.le_s $push0=, $pop7, $pop6
29 br_if 0, $pop0 # 0: down to label0
30 # BB#1: # %cleanup
31 return
32 .LBB1_2: # %for.body3.lr.ph
33 end_block # label0:
34 block
35 i32.const $push10=, 0
36 i32.load $push1=, d($pop10)
37 i32.eqz $push16=, $pop1
38 br_if 0, $pop16 # 0: down to label1
39 # BB#3: # %if.then.split
40 i32.const $push3=, 0
41 i32.const $push2=, 4
42 i32.store c($pop3), $pop2
43 i32.const $push11=, 0
44 i32.const $push4=, 1
45 i32.store e($pop11), $pop4
46 return
47 .LBB1_4: # %for.body3.preheader
48 end_block # label1:
49 .LBB1_5: # %for.body3
50 # =>This Inner Loop Header: Depth=1
51 loop # label2:
52 i32.const $push15=, 0
53 i32.lt_s $1=, $2, $pop15
54 i32.const $push14=, 1
55 i32.add $push13=, $2, $pop14
56 tee_local $push12=, $0=, $pop13
57 copy_local $2=, $pop12
58 br_if 0, $1 # 0: up to label2
59 # BB#6: # %for.inc28
60 end_loop
61 i32.const $push5=, 0
62 i32.store b($pop5), $0
63 # fallthrough-return
64 .endfunc
65 .Lfunc_end1:
66 .size foo, .Lfunc_end1-foo
67 # -- End function
68 .hidden d # @d
69 .type d,@object
70 .section .data.d,"aw",@progbits
71 .globl d
72 .p2align 2
73 d:
74 .int32 1 # 0x1
75 .size d, 4
76
77 .hidden a # @a
78 .type a,@object
79 .section .bss.a,"aw",@nobits
80 .globl a
81 .p2align 2
82 a:
83 .int32 0 # 0x0
84 .size a, 4
85
86 .hidden b # @b
87 .type b,@object
88 .section .bss.b,"aw",@nobits
89 .globl b
90 .p2align 2
91 b:
92 .int32 0 # 0x0
93 .size b, 4
94
95 .hidden c # @c
96 .type c,@object
97 .section .bss.c,"aw",@nobits
98 .globl c
99 .p2align 2
100 c:
101 .int32 0 # 0x0
102 .size c, 4
103
104 .hidden e # @e
105 .type e,@object
106 .section .bss.e,"aw",@nobits
107 .globl e
108 .p2align 2
109 e:
110 .int32 0 # 0x0
111 .size e, 4
112
113
114 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
115 .functype exit, void, i32