forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flatten_dfo_O3_enable-threads.txt
50 lines (50 loc) · 1.07 KB
/
flatten_dfo_O3_enable-threads.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
(module
(type $none_=>_none (func))
(type $none_=>_i32 (func (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $i64_i32_=>_f64 (func (param i64 i32) (result f64)))
(type $f64_=>_f64 (func (param f64) (result f64)))
(memory $0 (shared 1 1))
(export "one" (func $0))
(export "two" (func $1))
(export "use-var" (func $2))
(export "bad1" (func $3))
(export "only-dfo" (func $4))
(export "dfo-tee-get" (func $5))
(func $0 (; has Stack IR ;)
(block $label$3
(br_if $label$3
(i32.load
(i32.const 3060)
)
)
)
(unreachable)
)
(func $1 (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32)
(i32.const 0)
)
(func $2 (; has Stack IR ;) (param $0 i64) (param $1 i32) (result f64)
(loop $label$8
(br_if $label$8
(local.get $1)
)
)
(unreachable)
)
(func $3 (; has Stack IR ;)
(i32.store
(i32.const 1)
(i32.const -16384)
)
)
(func $4 (; has Stack IR ;) (param $0 f64) (result f64)
(local $1 i32)
(loop $label$1
(br $label$1)
)
)
(func $5 (; has Stack IR ;) (result i32)
(i32.const 1)
)
)