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