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