Debian Codegraph @

tests/snapshots/cli/folding/fold-local-getset.wast/0.print-folded

raw
1 (module
2 (type (;0;) (func (result f32)))
3 (type (;1;) (func))
4 (type (;2;) (func (result i32)))
5 (func $fold-local-get (;0;) (type 0) (result f32)
6 (local f32 f32 f64 f64)
7 (f32.add
8 (f32.add
9 (local.get 0)
10 (local.get 1))
11 (f32.demote_f64
12 (f64.add
13 (local.get 2)
14 (local.get 3))))
15 )
16 (func $fold-local-set (;1;) (type 1)
17 (local i64 i32)
18 (local.set 0
19 (i64.xor
20 (i64.const 1)
21 (i64.xor
22 (i64.const 2)
23 (i64.const 3))))
24 (local.set 1
25 (i32.const 4))
26 )
27 (func $fold-local-tee (;2;) (type 2) (result i32)
28 (local i32 i32)
29 (i32.add
30 (local.tee 0
31 (i32.const 1))
32 (local.tee 1
33 (i32.const 2)))
34 )
35 )