]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/990513-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 990513-1.c.s
1 .text
2 .file "990513-1.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7 foo: # @foo
8 .param i32, i32
9 .local i32, i32
10 # BB#0: # %entry
11 i32.const $3=, 1024
12 .LBB0_1: # %while.body
13 # =>This Inner Loop Header: Depth=1
14 loop # label0:
15 i32.add $push12=, $0, $3
16 tee_local $push11=, $2=, $pop12
17 i32.const $push10=, -8
18 i32.add $push0=, $pop11, $pop10
19 i32.store 0($pop0), $1
20 i32.const $push9=, -4
21 i32.add $push1=, $2, $pop9
22 i32.store 0($pop1), $1
23 i32.const $push8=, -12
24 i32.add $push2=, $2, $pop8
25 i32.store 0($pop2), $1
26 i32.const $push7=, -16
27 i32.add $push3=, $2, $pop7
28 i32.store 0($pop3), $1
29 i32.const $push6=, -16
30 i32.add $push5=, $3, $pop6
31 tee_local $push4=, $3=, $pop5
32 br_if 0, $pop4 # 0: up to label0
33 # BB#2: # %while.end
34 end_loop
35 # fallthrough-return
36 .endfunc
37 .Lfunc_end0:
38 .size foo, .Lfunc_end0-foo
39 # -- End function
40 .section .text.main,"ax",@progbits
41 .hidden main # -- Begin function main
42 .globl main
43 .type main,@function
44 main: # @main
45 .result i32
46 .local i32, i32, i32
47 # BB#0: # %entry
48 i32.const $push10=, 0
49 i32.const $push8=, 0
50 i32.load $push7=, __stack_pointer($pop8)
51 i32.const $push9=, 1024
52 i32.sub $push16=, $pop7, $pop9
53 tee_local $push15=, $1=, $pop16
54 i32.store __stack_pointer($pop10), $pop15
55 i32.const $2=, 1024
56 i32.const $push0=, 0
57 i32.const $push14=, 1024
58 i32.call $0=, memset@FUNCTION, $1, $pop0, $pop14
59 .LBB1_1: # %while.body.i
60 # =>This Inner Loop Header: Depth=1
61 loop # label1:
62 i32.add $push25=, $0, $2
63 tee_local $push24=, $1=, $pop25
64 i32.const $push23=, -8
65 i32.add $push1=, $pop24, $pop23
66 i64.const $push22=, 25769803782
67 i64.store 0($pop1):p2align=2, $pop22
68 i32.const $push21=, -16
69 i32.add $push2=, $1, $pop21
70 i64.const $push20=, 25769803782
71 i64.store 0($pop2):p2align=2, $pop20
72 i32.const $push19=, -16
73 i32.add $push18=, $2, $pop19
74 tee_local $push17=, $2=, $pop18
75 br_if 0, $pop17 # 0: up to label1
76 # BB#2: # %foo.exit
77 end_loop
78 block
79 i32.load $push4=, 0($0)
80 i32.const $push3=, 6
81 i32.ne $push5=, $pop4, $pop3
82 br_if 0, $pop5 # 0: down to label2
83 # BB#3: # %if.end
84 i32.const $push13=, 0
85 i32.const $push11=, 1024
86 i32.add $push12=, $0, $pop11
87 i32.store __stack_pointer($pop13), $pop12
88 i32.const $push6=, 0
89 return $pop6
90 .LBB1_4: # %if.then
91 end_block # label2:
92 call abort@FUNCTION
93 unreachable
94 .endfunc
95 .Lfunc_end1:
96 .size main, .Lfunc_end1-main
97 # -- End function
98
99 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
100 .functype abort, void