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