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