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