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