]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/llvm_autogenerated/func.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / llvm_autogenerated / func.s
1 .text
2 .file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/func.ll"
3 .globl f0
4 .type f0,@function
5 f0:
6 return
7 .endfunc
8 .Lfunc_end0:
9 .size f0, .Lfunc_end0-f0
10
11 .globl f1
12 .type f1,@function
13 f1:
14 .result i32
15 i32.const $push0=, 0
16 return $pop0
17 .endfunc
18 .Lfunc_end1:
19 .size f1, .Lfunc_end1-f1
20
21 .globl f2
22 .type f2,@function
23 f2:
24 .param i32, f32
25 .result i32
26 i32.const $push0=, 0
27 return $pop0
28 .endfunc
29 .Lfunc_end2:
30 .size f2, .Lfunc_end2-f2
31
32 .globl f3
33 .type f3,@function
34 f3:
35 .param i32, f32
36 return
37 .endfunc
38 .Lfunc_end3:
39 .size f3, .Lfunc_end3-f3
40
41 .globl f4
42 .type f4,@function
43 f4:
44 .param i32
45 .result i32
46 block
47 i32.const $push2=, 1
48 i32.and $push0=, $0, $pop2
49 i32.eqz $push4=, $pop0
50 br_if 0, $pop4
51 i32.const $push1=, 0
52 return $pop1
53 .LBB4_2:
54 end_block
55 i32.const $push3=, 1
56 return $pop3
57 .endfunc
58 .Lfunc_end4:
59 .size f4, .Lfunc_end4-f4
60
61 .globl f5
62 .type f5,@function
63 f5:
64 .result f32
65 unreachable
66 .endfunc
67 .Lfunc_end5:
68 .size f5, .Lfunc_end5-f5
69
70