]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr56962.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr56962.c.s
1 .text
2 .file "pr56962.c"
3 .section .text.bar,"ax",@progbits
4 .hidden bar # -- Begin function bar
5 .globl bar
6 .type bar,@function
7 bar: # @bar
8 .param i32
9 # BB#0: # %entry
10 block
11 i32.const $push0=, v+232
12 i32.ne $push1=, $0, $pop0
13 br_if 0, $pop1 # 0: down to label0
14 # BB#1: # %if.end
15 return
16 .LBB0_2: # %if.then
17 end_block # label0:
18 call abort@FUNCTION
19 unreachable
20 .endfunc
21 .Lfunc_end0:
22 .size bar, .Lfunc_end0-bar
23 # -- End function
24 .section .text.foo,"ax",@progbits
25 .hidden foo # -- Begin function foo
26 .globl foo
27 .type foo,@function
28 foo: # @foo
29 .param i32, i32, i32
30 .local i32, i64, i32, i64
31 # BB#0: # %entry
32 i32.const $push2=, 5
33 i32.mul $push36=, $2, $pop2
34 tee_local $push35=, $3=, $pop36
35 i32.const $push0=, 2
36 i32.shl $push1=, $1, $pop0
37 i32.add $push3=, $pop35, $pop1
38 i32.const $push4=, 3
39 i32.shl $push5=, $pop3, $pop4
40 i32.add $push6=, $0, $pop5
41 i64.load $4=, 0($pop6)
42 i32.const $push34=, 3
43 i32.mul $push33=, $1, $pop34
44 tee_local $push32=, $5=, $pop33
45 i32.add $push7=, $3, $pop32
46 i32.const $push31=, 3
47 i32.shl $push8=, $pop7, $pop31
48 i32.add $push9=, $0, $pop8
49 i64.load $6=, 0($pop9)
50 i32.const $push30=, 5
51 i32.shl $push15=, $1, $pop30
52 i32.add $push16=, $0, $pop15
53 i32.const $push29=, 2
54 i32.shl $push10=, $2, $pop29
55 i32.add $push11=, $pop10, $5
56 i32.const $push28=, 3
57 i32.shl $push12=, $pop11, $pop28
58 i32.add $push13=, $0, $pop12
59 i64.load $push14=, 0($pop13)
60 i64.store 0($pop16), $pop14
61 i32.add $push17=, $3, $1
62 i32.const $push27=, 3
63 i32.shl $push18=, $pop17, $pop27
64 i32.add $push19=, $0, $pop18
65 call bar@FUNCTION, $pop19
66 i32.const $push26=, 5
67 i32.mul $push21=, $1, $pop26
68 i32.add $push22=, $3, $pop21
69 i32.const $push25=, 3
70 i32.shl $push23=, $pop22, $pop25
71 i32.add $push24=, $0, $pop23
72 i64.add $push20=, $4, $6
73 i64.store 0($pop24), $pop20
74 # fallthrough-return
75 .endfunc
76 .Lfunc_end1:
77 .size foo, .Lfunc_end1-foo
78 # -- End function
79 .section .text.main,"ax",@progbits
80 .hidden main # -- Begin function main
81 .globl main
82 .type main,@function
83 main: # @main
84 .result i32
85 # BB#0: # %entry
86 i32.const $push2=, v
87 i32.const $push1=, 24
88 i32.const $push0=, 1
89 call foo@FUNCTION, $pop2, $pop1, $pop0
90 i32.const $push3=, 0
91 # fallthrough-return: $pop3
92 .endfunc
93 .Lfunc_end2:
94 .size main, .Lfunc_end2-main
95 # -- End function
96 .hidden v # @v
97 .type v,@object
98 .section .bss.v,"aw",@nobits
99 .globl v
100 .p2align 4
101 v:
102 .skip 1152
103 .size v, 1152
104
105
106 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
107 .functype abort, void