]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20021111-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20021111-1.c.s
1 .text
2 .file "20021111-1.c"
3 .section .text.aim_callhandler,"ax",@progbits
4 .hidden aim_callhandler # -- Begin function aim_callhandler
5 .globl aim_callhandler
6 .type aim_callhandler,@function
7 aim_callhandler: # @aim_callhandler
8 .param i32, i32, i32, i32
9 .result i32
10 # BB#0: # %entry
11 block
12 block
13 i32.eqz $push11=, $1
14 br_if 0, $pop11 # 0: down to label1
15 # BB#1: # %entry
16 i32.const $push0=, 65535
17 i32.eq $push1=, $3, $pop0
18 br_if 0, $pop1 # 0: down to label1
19 # BB#2: # %if.end3
20 i32.const $push8=, 0
21 i32.load $push7=, aim_callhandler.i($pop8)
22 tee_local $push6=, $1=, $pop7
23 i32.const $push5=, 1
24 i32.ge_s $push2=, $pop6, $pop5
25 br_if 1, $pop2 # 1: down to label0
26 # BB#3: # %if.end7
27 i32.const $push10=, 0
28 i32.const $push9=, 1
29 i32.add $push3=, $1, $pop9
30 i32.store aim_callhandler.i($pop10), $pop3
31 .LBB0_4: # %return
32 end_block # label1:
33 i32.const $push4=, 0
34 return $pop4
35 .LBB0_5: # %if.then6
36 end_block # label0:
37 call abort@FUNCTION
38 unreachable
39 .endfunc
40 .Lfunc_end0:
41 .size aim_callhandler, .Lfunc_end0-aim_callhandler
42 # -- End function
43 .section .text.main,"ax",@progbits
44 .hidden main # -- Begin function main
45 .globl main
46 .type main,@function
47 main: # @main
48 .result i32
49 # BB#0: # %entry
50 i32.const $push1=, 0
51 i32.const $push0=, 1
52 i32.const $push4=, 0
53 i32.const $push3=, 0
54 i32.call $drop=, aim_callhandler@FUNCTION, $pop1, $pop0, $pop4, $pop3
55 i32.const $push2=, 0
56 call exit@FUNCTION, $pop2
57 unreachable
58 .endfunc
59 .Lfunc_end1:
60 .size main, .Lfunc_end1-main
61 # -- End function
62 .type aim_callhandler.i,@object # @aim_callhandler.i
63 .section .bss.aim_callhandler.i,"aw",@nobits
64 .p2align 2
65 aim_callhandler.i:
66 .int32 0 # 0x0
67 .size aim_callhandler.i, 4
68
69
70 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
71 .functype abort, void
72 .functype exit, void, i32