summaryrefslogtreecommitdiff
path: root/test/passes/precompute.txt
blob: a3e8623f55453ab90d8ab32ce301ea410d9cf329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(module
  (memory 0)
  (type $0 (func (param i32)))
  (func $x (type $0) (param $x i32)
    (i32.const 3)
    (i32.add
      (i32.const 1)
      (get_local $x)
    )
    (i32.const 6)
    (i32.const -1)
    (i32.const 3)
    (loop $loop-out0 $in
      (br $in)
    )
  )
)