]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/use-import-and-drop.fromasm.no-opts
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / use-import-and-drop.fromasm.no-opts
1 (module
2 (type $FUNCSIG$vi (func (param i32)))
3 (import "env" "setTempRet0" (func $setTempRet0 (param i32)))
4 (import "env" "memory" (memory $0 256 256))
5 (import "env" "table" (table 0 0 anyfunc))
6 (import "env" "memoryBase" (global $memoryBase i32))
7 (import "env" "tableBase" (global $tableBase i32))
8 (func $test1 (; 1 ;) (result i32)
9 (local $$b$1 i32)
10 (local $$x_sroa_0_0_extract_trunc i32)
11 (local $$2 i32)
12 (local $$1$1 i32)
13 (local $$1$0 i32)
14 (return
15 (block (result i32)
16 (call $setTempRet0
17 (i32.or
18 (i32.add
19 (i32.add
20 (i32.mul
21 (get_local $$b$1)
22 (get_local $$x_sroa_0_0_extract_trunc)
23 )
24 (get_local $$2)
25 )
26 (get_local $$1$1)
27 )
28 (i32.and
29 (get_local $$1$1)
30 (i32.const 0)
31 )
32 )
33 )
34 (i32.or
35 (i32.const 0)
36 (i32.and
37 (get_local $$1$0)
38 (i32.const -1)
39 )
40 )
41 )
42 )
43 )
44 (func $test2 (; 2 ;)
45 (call $setTempRet0
46 (i32.const 10)
47 )
48 )
49 )