blob: 39f8b315ab3f4916866f6da0d5e4a871fc6101de [file] [edit]
(module
(type $none_=>_none (func))
(type $i32_=>_none (func (param i32)))
(type $none_=>_i32 (func (result i32)))
(import "env" "memory" (memory $memory 256 256))
(import "env" "table" (table $table 0 0 funcref))
(import "env" "__memory_base" (global $__memory_base i32))
(import "env" "__table_base" (global $__table_base i32))
(import "env" "setTempRet0" (func $setTempRet0 (param i32)))
(func $test1 (result i32)
(local $$b$1 i32)
(local $$x_sroa_0_0_extract_trunc i32)
(local $$2 i32)
(local $$1$1 i32)
(local $$1$0 i32)
(return
(block (result i32)
(call $setTempRet0
(i32.or
(i32.add
(i32.add
(i32.mul
(local.get $$b$1)
(local.get $$x_sroa_0_0_extract_trunc)
)
(local.get $$2)
)
(local.get $$1$1)
)
(i32.and
(local.get $$1$1)
(i32.const 0)
)
)
)
(i32.or
(i32.const 0)
(i32.and
(local.get $$1$0)
(i32.const -1)
)
)
)
)
)
(func $test2
(call $setTempRet0
(i32.const 10)
)
)
)