]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20080506-2.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20080506-2.c.s
1 .text
2 .file "20080506-2.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
9 # BB#0: # %entry
10 i32.load $push7=, 0($0)
11 tee_local $push6=, $0=, $pop7
12 i32.const $push0=, 1
13 i32.store 0($pop6), $pop0
14 i32.load $push1=, 0($1)
15 i32.const $push2=, 2
16 i32.store 0($pop1), $pop2
17 block
18 i32.load $push3=, 0($0)
19 i32.const $push5=, 2
20 i32.ne $push4=, $pop3, $pop5
21 br_if 0, $pop4 # 0: down to label0
22 # BB#1: # %if.end
23 return
24 .LBB0_2: # %if.then
25 end_block # label0:
26 call abort@FUNCTION
27 unreachable
28 .endfunc
29 .Lfunc_end0:
30 .size foo, .Lfunc_end0-foo
31 # -- End function
32 .section .text.main,"ax",@progbits
33 .hidden main # -- Begin function main
34 .globl main
35 .type main,@function
36 main: # @main
37 .result i32
38 .local i32
39 # BB#0: # %entry
40 i32.const $push4=, 0
41 i32.const $push2=, 0
42 i32.load $push1=, __stack_pointer($pop2)
43 i32.const $push3=, 16
44 i32.sub $push17=, $pop1, $pop3
45 tee_local $push16=, $0=, $pop17
46 i32.store __stack_pointer($pop4), $pop16
47 i32.const $push8=, 12
48 i32.add $push9=, $0, $pop8
49 i32.store 8($0), $pop9
50 i32.const $push10=, 12
51 i32.add $push11=, $0, $pop10
52 i32.store 4($0), $pop11
53 i32.const $push12=, 8
54 i32.add $push13=, $0, $pop12
55 i32.const $push14=, 4
56 i32.add $push15=, $0, $pop14
57 call foo@FUNCTION, $pop13, $pop15
58 i32.const $push7=, 0
59 i32.const $push5=, 16
60 i32.add $push6=, $0, $pop5
61 i32.store __stack_pointer($pop7), $pop6
62 i32.const $push0=, 0
63 # fallthrough-return: $pop0
64 .endfunc
65 .Lfunc_end1:
66 .size main, .Lfunc_end1-main
67 # -- End function
68
69 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
70 .functype abort, void