]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/passes/inlining-optimizing.txt
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / passes / inlining-optimizing.txt
1 (module
2 (type $0 (func))
3 (type $1 (func (result i32)))
4 (type $2 (func (result f64)))
5 (type $3 (func (param f32 i64)))
6 (table 1 1 anyfunc)
7 (elem (i32.const 0) $tabled)
8 (memory $0 0)
9 (export "user" (func $user))
10 (export "exported" (func $exported))
11 (func $user (; 0 ;) (type $0)
12 (call $exported)
13 (call $tabled)
14 (call $multi)
15 (call $multi)
16 )
17 (func $exported (; 1 ;) (type $0)
18 (nop)
19 )
20 (func $recursive (; 2 ;) (type $0)
21 (call $recursive)
22 )
23 (func $tabled (; 3 ;) (type $0)
24 (nop)
25 )
26 (func $cycle1 (; 4 ;) (type $0)
27 (call $cycle2)
28 )
29 (func $cycle2 (; 5 ;) (type $0)
30 (call $cycle1)
31 )
32 (func $multi (; 6 ;) (type $0)
33 (nop)
34 )
35 )
36 (module
37 (type $0 (func (result i32)))
38 (type $1 (func))
39 (memory $0 0)
40 (func $main (; 0 ;) (type $0) (result i32)
41 (unreachable)
42 )
43 )
44 (module
45 (type $0 (func (result i32)))
46 (type $1 (func (result i64)))
47 (memory $0 (shared 1 1))
48 (func $1 (; 0 ;) (type $1) (result i64)
49 (i32.atomic.store16
50 (i32.const 0)
51 (i32.const 0)
52 )
53 (i64.const 0)
54 )
55 )