]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/va-arg-23.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / va-arg-23.c.s
1 .text
2 .file "va-arg-23.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, i32, i32, i32, i32, i32, i32
9 .local i32
10 # BB#0: # %entry
11 i32.const $push10=, 0
12 i32.const $push8=, 0
13 i32.load $push7=, __stack_pointer($pop8)
14 i32.const $push9=, 16
15 i32.sub $push15=, $pop7, $pop9
16 tee_local $push14=, $8=, $pop15
17 i32.store __stack_pointer($pop10), $pop14
18 i32.const $push1=, 4
19 i32.add $push2=, $7, $pop1
20 i32.store 12($8), $pop2
21 block
22 i32.const $push3=, 1
23 i32.ne $push4=, $6, $pop3
24 br_if 0, $pop4 # 0: down to label0
25 # BB#1: # %entry
26 i32.load $push0=, 0($7)
27 i32.const $push5=, 2
28 i32.ne $push6=, $pop0, $pop5
29 br_if 0, $pop6 # 0: down to label0
30 # BB#2: # %if.end
31 i32.const $push13=, 0
32 i32.const $push11=, 16
33 i32.add $push12=, $8, $pop11
34 i32.store __stack_pointer($pop13), $pop12
35 return
36 .LBB0_3: # %if.then
37 end_block # label0:
38 call abort@FUNCTION
39 unreachable
40 .endfunc
41 .Lfunc_end0:
42 .size foo, .Lfunc_end0-foo
43 # -- End function
44 .section .text.main,"ax",@progbits
45 .hidden main # -- Begin function main
46 .globl main
47 .type main,@function
48 main: # @main
49 .result i32
50 .local i32
51 # BB#0: # %entry
52 i32.const $push7=, 0
53 i32.const $push5=, 0
54 i32.load $push4=, __stack_pointer($pop5)
55 i32.const $push6=, 32
56 i32.sub $push14=, $pop4, $pop6
57 tee_local $push13=, $0=, $pop14
58 i32.store __stack_pointer($pop7), $pop13
59 i32.const $push0=, 2
60 i32.store 0($0), $pop0
61 i64.load $push1=, 24($0)
62 i64.store 16($0), $pop1
63 i32.const $push11=, 16
64 i32.add $push12=, $0, $pop11
65 i32.const $push2=, 1
66 call foo@FUNCTION, $0, $0, $0, $0, $0, $pop12, $pop2, $0
67 i32.const $push10=, 0
68 i32.const $push8=, 32
69 i32.add $push9=, $0, $pop8
70 i32.store __stack_pointer($pop10), $pop9
71 i32.const $push3=, 0
72 # fallthrough-return: $pop3
73 .endfunc
74 .Lfunc_end1:
75 .size main, .Lfunc_end1-main
76 # -- End function
77
78 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
79 .functype abort, void