summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s2wasm.h11
-rw-r--r--test/dot_s/alias.wast14
-rw-r--r--test/dot_s/asm_const.wast14
-rw-r--r--test/dot_s/basics.wast126
-rw-r--r--test/dot_s/bcp-1.wast136
-rw-r--r--test/dot_s/function-data-sections.wast26
-rw-r--r--test/dot_s/macClangMetaData.wast14
-rw-r--r--test/dot_s/memops.wast312
-rw-r--r--test/dot_s/minimal.wast8
-rw-r--r--test/dot_s/relocation.wast10
-rw-r--r--test/dot_s/symbolic-offset.wast12
-rw-r--r--test/dot_s/visibilities.wast18
-rw-r--r--test/llvm_autogenerated/byval.wast678
-rw-r--r--test/llvm_autogenerated/call.wast106
-rw-r--r--test/llvm_autogenerated/cfg-stackify.wast1256
-rw-r--r--test/llvm_autogenerated/comparisons_f32.wast308
-rw-r--r--test/llvm_autogenerated/comparisons_f64.wast308
-rw-r--r--test/llvm_autogenerated/comparisons_i32.wast120
-rw-r--r--test/llvm_autogenerated/comparisons_i64.wast120
-rw-r--r--test/llvm_autogenerated/conv.wast264
-rw-r--r--test/llvm_autogenerated/copysign-casts.wast28
-rw-r--r--test/llvm_autogenerated/cpus.wast8
-rw-r--r--test/llvm_autogenerated/dead-vreg.wast146
-rw-r--r--test/llvm_autogenerated/f32.wast178
-rw-r--r--test/llvm_autogenerated/f64.wast178
-rw-r--r--test/llvm_autogenerated/fast-isel.wast16
-rw-r--r--test/llvm_autogenerated/frem.wast24
-rw-r--r--test/llvm_autogenerated/func.wast60
-rw-r--r--test/llvm_autogenerated/global.wast24
-rw-r--r--test/llvm_autogenerated/globl.wast6
-rw-r--r--test/llvm_autogenerated/i32-load-store-alignment.wast220
-rw-r--r--test/llvm_autogenerated/i32.wast206
-rw-r--r--test/llvm_autogenerated/i64-load-store-alignment.wast330
-rw-r--r--test/llvm_autogenerated/i64.wast206
-rw-r--r--test/llvm_autogenerated/immediates.wast192
-rw-r--r--test/llvm_autogenerated/legalize.wast6350
-rw-r--r--test/llvm_autogenerated/load-ext.wast100
-rw-r--r--test/llvm_autogenerated/load-store-i1.wast88
-rw-r--r--test/llvm_autogenerated/load.wast40
-rw-r--r--test/llvm_autogenerated/mem-intrinsics.wast260
-rw-r--r--test/llvm_autogenerated/memory-addr32.wast16
-rw-r--r--test/llvm_autogenerated/memory-addr64.wast16
-rw-r--r--test/llvm_autogenerated/offset-folding.wast32
-rw-r--r--test/llvm_autogenerated/offset.wast486
-rw-r--r--test/llvm_autogenerated/phi.wast96
-rw-r--r--test/llvm_autogenerated/reg-stackify.wast342
-rw-r--r--test/llvm_autogenerated/return-int32.wast8
-rw-r--r--test/llvm_autogenerated/return-void.wast6
-rw-r--r--test/llvm_autogenerated/select.wast168
-rw-r--r--test/llvm_autogenerated/signext-zeroext.wast66
-rw-r--r--test/llvm_autogenerated/store-results.wast96
-rw-r--r--test/llvm_autogenerated/store-trunc.wast60
-rw-r--r--test/llvm_autogenerated/store.wast48
-rw-r--r--test/llvm_autogenerated/switch.wast114
-rw-r--r--test/llvm_autogenerated/unreachable.wast16
-rw-r--r--test/llvm_autogenerated/unused-argument.wast24
-rw-r--r--test/llvm_autogenerated/userstack.wast562
-rw-r--r--test/llvm_autogenerated/varargs.wast394
58 files changed, 6651 insertions, 8420 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 8b6aabeb7..abfb4a92d 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -946,16 +946,7 @@ class S2WasmBuilder {
curr->type = curr->value->type;
setOutput(curr, assign);
} else if (match("return")) {
- Block *temp;
- if (!(func->body && (temp = func->body->dyn_cast<Block>()) && temp->name == FAKE_RETURN)) {
- Expression* old = func->body;
- temp = allocator.alloc<Block>();
- temp->name = FAKE_RETURN;
- if (old) temp->list.push_back(old);
- func->body = temp;
- }
- auto curr = allocator.alloc<Break>();
- curr->name = FAKE_RETURN;
+ auto curr = allocator.alloc<Return>();
if (*s == '$') {
curr->value = getInput();
}
diff --git a/test/dot_s/alias.wast b/test/dot_s/alias.wast
index 41fb16f75..f1a21dfc9 100644
--- a/test/dot_s/alias.wast
+++ b/test/dot_s/alias.wast
@@ -4,19 +4,11 @@
(export "__needs_exit" $__needs_exit)
(func $__exit
(local $$0 i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $__needs_exit
- (block $fake_return_waka123
- (block
- (call $__exit)
- (br $fake_return_waka123)
- )
- )
+ (call $__exit)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/dot_s/asm_const.wast b/test/dot_s/asm_const.wast
index d0e11f86c..1bd4fc92b 100644
--- a/test/dot_s/asm_const.wast
+++ b/test/dot_s/asm_const.wast
@@ -6,15 +6,11 @@
(import $_emscripten_asm_const_vi "env" "_emscripten_asm_const_vi" (param i32))
(export "main" $main)
(func $main (result i32)
- (block $fake_return_waka123
- (block
- (call_import $_emscripten_asm_const_vi
- (i32.const 0)
- )
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (call_import $_emscripten_asm_const_vi
+ (i32.const 0)
+ )
+ (return
+ (i32.const 0)
)
)
)
diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast
index fea2948b3..b21d1a2e7 100644
--- a/test/dot_s/basics.wast
+++ b/test/dot_s/basics.wast
@@ -9,91 +9,87 @@
(export "main" $main)
(table $main)
(func $main (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (call_import $puts
- (i32.const 16)
- )
- (block $label$0
- (block $label$1
- (br_if
- (i32.ne
- (i32.sub
+ (call_import $puts
+ (i32.const 16)
+ )
+ (block $label$0
+ (block $label$1
+ (br_if
+ (i32.ne
+ (i32.sub
+ (get_local $$0)
+ (i32.and
+ (i32.add
(get_local $$0)
- (i32.and
- (i32.add
+ (i32.shr_u
+ (i32.shr_s
(get_local $$0)
- (i32.shr_u
- (i32.shr_s
- (get_local $$0)
- (i32.const 31)
- )
- (i32.const 30)
- )
+ (i32.const 31)
)
- (i32.const -4)
+ (i32.const 30)
)
)
- (i32.const 1)
+ (i32.const -4)
)
- $label$1
)
- (loop $label$3 $label$2
- (set_local $$0
- (i32.add
- (i32.gt_s
- (get_local $$0)
- (i32.const 10)
- )
- (get_local $$0)
- )
+ (i32.const 1)
+ )
+ $label$1
+ )
+ (loop $label$3 $label$2
+ (set_local $$0
+ (i32.add
+ (i32.gt_s
+ (get_local $$0)
+ (i32.const 10)
)
- (block $label$4
- (br_if
- (i32.ne
- (i32.rem_s
- (get_local $$0)
- (i32.const 5)
- )
- (i32.const 3)
- )
- $label$4
- )
- (set_local $$0
- (i32.add
- (i32.rem_s
- (get_local $$0)
- (i32.const 111)
- )
- (get_local $$0)
- )
+ (get_local $$0)
+ )
+ )
+ (block $label$4
+ (br_if
+ (i32.ne
+ (i32.rem_s
+ (get_local $$0)
+ (i32.const 5)
)
+ (i32.const 3)
)
- (br_if
- (i32.eq
- (i32.rem_s
- (get_local $$0)
- (i32.const 7)
- )
- (i32.const 0)
+ $label$4
+ )
+ (set_local $$0
+ (i32.add
+ (i32.rem_s
+ (get_local $$0)
+ (i32.const 111)
)
- $label$1
+ (get_local $$0)
)
- (br $label$2)
)
)
- (set_local $$0
- (i32.add
- (get_local $$0)
- (i32.const -12)
+ (br_if
+ (i32.eq
+ (i32.rem_s
+ (get_local $$0)
+ (i32.const 7)
+ )
+ (i32.const 0)
)
+ $label$1
)
- (i32.const 0)
+ (br $label$2)
)
- (br $fake_return_waka123
+ )
+ (set_local $$0
+ (i32.add
(get_local $$0)
+ (i32.const -12)
)
)
+ (i32.const 0)
+ )
+ (return
+ (get_local $$0)
)
)
)
diff --git a/test/dot_s/bcp-1.wast b/test/dot_s/bcp-1.wast
index af8cc92ec..224bd9cf7 100644
--- a/test/dot_s/bcp-1.wast
+++ b/test/dot_s/bcp-1.wast
@@ -34,156 +34,88 @@
(export "main" $main)
(table $bad0 $bad1 $bad5 $bad7 $bad8 $bad10 $bad2 $bad3 $bad6 $bad4 $bad9 $good0 $good1 $good2 $opt0 $opt1 $opt2)
(func $bad0 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad1 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad2 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad3 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad4 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad5 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad6 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad7 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad8 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad9 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $bad10 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $good0 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 1)
- )
- )
+ (return
+ (i32.const 1)
)
)
(func $good1 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 1)
- )
- )
+ (return
+ (i32.const 1)
)
)
(func $good2 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 1)
- )
- )
+ (return
+ (i32.const 1)
)
)
(func $opt0 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $opt1 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $opt2 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 1)
- )
- )
+ (return
+ (i32.const 1)
)
)
(func $main (result i32)
diff --git a/test/dot_s/function-data-sections.wast b/test/dot_s/function-data-sections.wast
index 5f31aa3eb..b1d8ec714 100644
--- a/test/dot_s/function-data-sections.wast
+++ b/test/dot_s/function-data-sections.wast
@@ -8,30 +8,18 @@
(export "bar" $bar)
(export "qux" $qux)
(func $foo
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $bar (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$0)
- )
- )
+ (return
+ (get_local $$0)
)
)
(func $qux (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/dot_s/macClangMetaData.wast b/test/dot_s/macClangMetaData.wast
index fd3210139..fbefd754f 100644
--- a/test/dot_s/macClangMetaData.wast
+++ b/test/dot_s/macClangMetaData.wast
@@ -6,15 +6,11 @@
(import $puts "env" "puts" (param i32) (result i32))
(export "main" $main)
(func $main (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (call_import $puts
- (i32.const 16)
- )
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (call_import $puts
+ (i32.const 16)
+ )
+ (return
+ (i32.const 0)
)
)
)
diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast
index 0f7e81068..647abbc48 100644
--- a/test/dot_s/memops.wast
+++ b/test/dot_s/memops.wast
@@ -7,18 +7,14 @@
(export "_Z6reporti" $_Z6reporti)
(export "main" $main)
(func $_Z6reporti (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (i32.const 8)
- (get_local $$0)
- )
- (call_import $_emscripten_asm_const_vi
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=4
+ (i32.const 8)
+ (get_local $$0)
+ )
+ (call_import $_emscripten_asm_const_vi
+ (i32.const 0)
)
+ (return)
)
(func $main (result i32)
(local $$0 i32)
@@ -34,186 +30,182 @@
(local $$10 i32)
(local $$11 i32)
(local $$12 i32)
- (block $fake_return_waka123
- (block
- (set_local $$7
+ (set_local $$7
+ (i32.const 0)
+ )
+ (set_local $$7
+ (i32.load align=4
+ (get_local $$7)
+ )
+ )
+ (set_local $$8
+ (i32.const 1048576)
+ )
+ (set_local $$12
+ (i32.sub
+ (get_local $$7)
+ (get_local $$8)
+ )
+ )
+ (set_local $$8
+ (i32.const 0)
+ )
+ (set_local $$12
+ (i32.store align=4
+ (get_local $$8)
+ (get_local $$12)
+ )
+ )
+ (set_local $$1
+ (i32.const 0)
+ )
+ (set_local $$0
+ (get_local $$1)
+ )
+ (set_local $$6
+ (get_local $$1)
+ )
+ (loop $label$1 $label$0
+ (set_local $$4
+ (get_local $$1)
+ )
+ (loop $label$3 $label$2
+ (set_local $$10
(i32.const 0)
)
- (set_local $$7
- (i32.load align=4
- (get_local $$7)
+ (set_local $$10
+ (i32.add
+ (get_local $$12)
+ (get_local $$10)
)
)
- (set_local $$8
- (i32.const 1048576)
- )
- (set_local $$12
- (i32.sub
- (get_local $$7)
- (get_local $$8)
+ (i32.store align=8
+ (i32.add
+ (get_local $$10)
+ (get_local $$4)
+ )
+ (i32.add
+ (get_local $$6)
+ (get_local $$4)
)
)
- (set_local $$8
- (i32.const 0)
+ (set_local $$2
+ (i32.const 1)
)
- (set_local $$12
- (i32.store align=4
- (get_local $$8)
- (get_local $$12)
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
+ (get_local $$2)
)
)
- (set_local $$1
- (i32.const 0)
+ (set_local $$3
+ (i32.const 1048576)
)
- (set_local $$0
+ (set_local $$5
(get_local $$1)
)
- (set_local $$6
- (get_local $$1)
- )
- (loop $label$1 $label$0
- (set_local $$4
- (get_local $$1)
- )
- (loop $label$3 $label$2
- (set_local $$10
- (i32.const 0)
- )
- (set_local $$10
- (i32.add
- (get_local $$12)
- (get_local $$10)
- )
- )
- (i32.store align=8
- (i32.add
- (get_local $$10)
- (get_local $$4)
- )
- (i32.add
- (get_local $$6)
- (get_local $$4)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (get_local $$2)
- )
- )
- (set_local $$3
- (i32.const 1048576)
- )
- (set_local $$5
- (get_local $$1)
- )
- (br_if
- (i32.ne
- (get_local $$4)
- (get_local $$3)
- )
- $label$2
- )
+ (br_if
+ (i32.ne
+ (get_local $$4)
+ (get_local $$3)
)
- (loop $label$5 $label$4
- (set_local $$11
- (i32.const 0)
- )
- (set_local $$11
- (i32.add
- (get_local $$12)
- (get_local $$11)
- )
- )
- (set_local $$6
- (i32.add
- (i32.and
- (i32.load8_u align=1
- (i32.add
- (get_local $$11)
- (get_local $$5)
- )
- )
- (get_local $$2)
- )
- (get_local $$6)
- )
- )
- (set_local $$5
- (i32.add
- (get_local $$5)
- (get_local $$2)
- )
- )
- (br_if
- (i32.ne
- (get_local $$5)
- (get_local $$3)
- )
- $label$4
- )
+ $label$2
+ )
+ )
+ (loop $label$5 $label$4
+ (set_local $$11
+ (i32.const 0)
+ )
+ (set_local $$11
+ (i32.add
+ (get_local $$12)
+ (get_local $$11)
)
- (set_local $$6
+ )
+ (set_local $$6
+ (i32.add
(i32.and
- (i32.add
+ (i32.load8_u align=1
(i32.add
- (i32.mul
- (get_local $$6)
- (i32.const 3)
- )
- (i32.div_s
- (get_local $$6)
- (i32.const 5)
- )
+ (get_local $$11)
+ (get_local $$5)
)
- (i32.const 17)
)
- (i32.const 65535)
- )
- )
- (set_local $$0
- (i32.add
- (get_local $$0)
(get_local $$2)
)
+ (get_local $$6)
)
- (br_if
- (i32.ne
- (get_local $$0)
- (i32.const 100)
- )
- $label$0
- )
- )
- (call $_Z6reporti
- (get_local $$6)
)
- (set_local $$9
- (i32.const 1048576)
- )
- (set_local $$12
+ (set_local $$5
(i32.add
- (get_local $$12)
- (get_local $$9)
+ (get_local $$5)
+ (get_local $$2)
)
)
- (set_local $$9
- (i32.const 0)
+ (br_if
+ (i32.ne
+ (get_local $$5)
+ (get_local $$3)
+ )
+ $label$4
)
- (set_local $$12
- (i32.store align=4
- (get_local $$9)
- (get_local $$12)
+ )
+ (set_local $$6
+ (i32.and
+ (i32.add
+ (i32.add
+ (i32.mul
+ (get_local $$6)
+ (i32.const 3)
+ )
+ (i32.div_s
+ (get_local $$6)
+ (i32.const 5)
+ )
+ )
+ (i32.const 17)
)
+ (i32.const 65535)
)
- (br $fake_return_waka123
- (i32.const 0)
+ )
+ (set_local $$0
+ (i32.add
+ (get_local $$0)
+ (get_local $$2)
+ )
+ )
+ (br_if
+ (i32.ne
+ (get_local $$0)
+ (i32.const 100)
)
+ $label$0
+ )
+ )
+ (call $_Z6reporti
+ (get_local $$6)
+ )
+ (set_local $$9
+ (i32.const 1048576)
+ )
+ (set_local $$12
+ (i32.add
+ (get_local $$12)
+ (get_local $$9)
+ )
+ )
+ (set_local $$9
+ (i32.const 0)
+ )
+ (set_local $$12
+ (i32.store align=4
+ (get_local $$9)
+ (get_local $$12)
)
)
+ (return
+ (i32.const 0)
+ )
)
)
;; METADATA: { "asmConsts": {"0": ["{ Module.print(\"hello, world! \" + HEAP32[8>>2]); }", ["vi"]]},"staticBump": 66 }
diff --git a/test/dot_s/minimal.wast b/test/dot_s/minimal.wast
index 6a8f3aa6f..ebaa20597 100644
--- a/test/dot_s/minimal.wast
+++ b/test/dot_s/minimal.wast
@@ -2,12 +2,8 @@
(memory 0 4294967295)
(export "main" $main)
(func $main (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 5)
- )
- )
+ (return
+ (i32.const 5)
)
)
)
diff --git a/test/dot_s/relocation.wast b/test/dot_s/relocation.wast
index 7a1b419b4..343269270 100644
--- a/test/dot_s/relocation.wast
+++ b/test/dot_s/relocation.wast
@@ -6,13 +6,9 @@
(export "main" $main)
(func $main (result i32)
(local $$0 i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (i32.const 12)
- )
- )
+ (return
+ (i32.load align=4
+ (i32.const 12)
)
)
)
diff --git a/test/dot_s/symbolic-offset.wast b/test/dot_s/symbolic-offset.wast
index 2d39c19ea..cd0681c31 100644
--- a/test/dot_s/symbolic-offset.wast
+++ b/test/dot_s/symbolic-offset.wast
@@ -4,15 +4,11 @@
)
(export "f" $f)
(func $f (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=12 align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=12 align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 19 }
diff --git a/test/dot_s/visibilities.wast b/test/dot_s/visibilities.wast
index 6b346270e..eb9c24a7c 100644
--- a/test/dot_s/visibilities.wast
+++ b/test/dot_s/visibilities.wast
@@ -4,25 +4,13 @@
(export "bar" $bar)
(export "qux" $qux)
(func $foo
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $bar
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $qux
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/byval.wast b/test/llvm_autogenerated/byval.wast
index fa3d4cdf3..64ae7943a 100644
--- a/test/llvm_autogenerated/byval.wast
+++ b/test/llvm_autogenerated/byval.wast
@@ -17,73 +17,69 @@
(local $$3 i32)
(local $$4 i32)
(local $$5 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$5
- (i32.sub
- (get_local $$1)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$5
- (i32.store align=4
- (get_local $$2)
- (get_local $$5)
- )
- )
- (i32.store offset=12 align=4
- (get_local $$5)
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$4
- (i32.const 12)
- )
- (set_local $$4
- (i32.add
- (get_local $$5)
- (get_local $$4)
- )
- )
- (call_import $ext_byval_func
- (get_local $$4)
- )
- (set_local $$3
- (i32.const 16)
- )
- (set_local $$5
- (i32.add
- (get_local $$5)
- (get_local $$3)
- )
- )
- (set_local $$3
- (i32.const 1)
- )
- (set_local $$5
- (i32.store align=4
- (get_local $$3)
- (get_local $$5)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
+ )
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$5
+ (i32.sub
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$5
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$5)
)
)
+ (i32.store offset=12 align=4
+ (get_local $$5)
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$4
+ (i32.const 12)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$5)
+ (get_local $$4)
+ )
+ )
+ (call_import $ext_byval_func
+ (get_local $$4)
+ )
+ (set_local $$3
+ (i32.const 16)
+ )
+ (set_local $$5
+ (i32.add
+ (get_local $$5)
+ (get_local $$3)
+ )
+ )
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$5
+ (i32.store align=4
+ (get_local $$3)
+ (get_local $$5)
+ )
+ )
+ (return)
)
(func $byval_arg_align8 (param $$0 i32)
(local $$1 i32)
@@ -91,149 +87,141 @@
(local $$3 i32)
(local $$4 i32)
(local $$5 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$5
- (i32.sub
- (get_local $$1)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$5
- (i32.store align=4
- (get_local $$2)
- (get_local $$5)
- )
- )
- (i32.store offset=8 align=8
- (get_local $$5)
- (i32.load align=8
- (get_local $$0)
- )
- )
- (set_local $$4
- (i32.const 8)
- )
- (set_local $$4
- (i32.add
- (get_local $$5)
- (get_local $$4)
- )
- )
- (call_import $ext_byval_func_align8
- (get_local $$4)
- )
- (set_local $$3
- (i32.const 16)
- )
- (set_local $$5
- (i32.add
- (get_local $$5)
- (get_local $$3)
- )
- )
- (set_local $$3
- (i32.const 1)
- )
- (set_local $$5
- (i32.store align=4
- (get_local $$3)
- (get_local $$5)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
+ )
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$5
+ (i32.sub
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$5
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$5)
+ )
+ )
+ (i32.store offset=8 align=8
+ (get_local $$5)
+ (i32.load align=8
+ (get_local $$0)
+ )
+ )
+ (set_local $$4
+ (i32.const 8)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$5)
+ (get_local $$4)
+ )
+ )
+ (call_import $ext_byval_func_align8
+ (get_local $$4)
+ )
+ (set_local $$3
+ (i32.const 16)
+ )
+ (set_local $$5
+ (i32.add
+ (get_local $$5)
+ (get_local $$3)
)
)
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$5
+ (i32.store align=4
+ (get_local $$3)
+ (get_local $$5)
+ )
+ )
+ (return)
)
(func $byval_arg_double (param $$0 i32)
(local $$1 i32)
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$4
- (i32.sub
- (get_local $$1)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$2)
- (get_local $$4)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$4)
- (i32.const 8)
- )
- (i64.load align=8
- (i32.add
- (get_local $$0)
- (i32.const 8)
- )
- )
- )
- (i64.store align=8
- (get_local $$4)
- (i64.load align=8
- (get_local $$0)
- )
- )
- (call_import $ext_byval_func_alignedstruct
- (get_local $$4)
- )
- (set_local $$3
- (i32.const 16)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (get_local $$3)
- )
- )
- (set_local $$3
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$3)
- (get_local $$4)
- )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
+ )
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$4
+ (i32.sub
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$4)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$4)
+ (i32.const 8)
+ )
+ (i64.load align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 8)
)
- (br $fake_return_waka123)
)
)
+ (i64.store align=8
+ (get_local $$4)
+ (i64.load align=8
+ (get_local $$0)
+ )
+ )
+ (call_import $ext_byval_func_alignedstruct
+ (get_local $$4)
+ )
+ (set_local $$3
+ (i32.const 16)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
+ (get_local $$3)
+ )
+ )
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$3)
+ (get_local $$4)
+ )
+ )
+ (return)
)
(func $byval_arg_big (param $$0 i32)
(local $$1 i32)
@@ -245,167 +233,159 @@
(local $$7 i32)
(local $$8 i32)
(local $$9 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (set_local $$2
- (i32.const 48)
- )
- (set_local $$9
- (i32.sub
- (get_local $$1)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$9
- (i32.store align=4
- (get_local $$2)
- (get_local $$9)
- )
- )
- (set_local $$4
- (i32.const 12)
- )
- (set_local $$4
- (i32.add
- (get_local $$9)
- (get_local $$4)
- )
- )
- (i32.store align=4
- (i32.add
- (get_local $$4)
- (i32.const 32)
- )
- (i32.load8_u align=1
- (i32.add
- (get_local $$0)
- (i32.const 32)
- )
- )
- )
- (set_local $$5
- (i32.const 12)
- )
- (set_local $$5
- (i32.add
- (get_local $$9)
- (get_local $$5)
- )
- )
- (i64.store align=4
- (i32.add
- (get_local $$5)
- (i32.const 24)
- )
- (i64.load align=1
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- )
- )
- (set_local $$6
- (i32.const 12)
- )
- (set_local $$6
- (i32.add
- (get_local $$9)
- (get_local $$6)
- )
- )
- (i64.store align=4
- (i32.add
- (get_local $$6)
- (i32.const 16)
- )
- (i64.load align=1
- (i32.add
- (get_local $$0)
- (i32.const 16)
- )
- )
- )
- (set_local $$7
- (i32.const 12)
- )
- (set_local $$7
- (i32.add
- (get_local $$9)
- (get_local $$7)
- )
- )
- (i64.store align=4
- (i32.add
- (get_local $$7)
- (i32.const 8)
- )
- (i64.load align=1
- (i32.add
- (get_local $$0)
- (i32.const 8)
- )
- )
- )
- (i64.store offset=12 align=4
- (get_local $$9)
- (i64.load align=1
- (get_local $$0)
- )
- )
- (set_local $$8
- (i32.const 12)
- )
- (set_local $$8
- (i32.add
- (get_local $$9)
- (get_local $$8)
- )
- )
- (call_import $ext_byval_func_bigarray
- (get_local $$8)
- )
- (set_local $$3
- (i32.const 48)
- )
- (set_local $$9
- (i32.add
- (get_local $$9)
- (get_local $$3)
- )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
+ )
+ )
+ (set_local $$2
+ (i32.const 48)
+ )
+ (set_local $$9
+ (i32.sub
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$9
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$9)
+ )
+ )
+ (set_local $$4
+ (i32.const 12)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$9)
+ (get_local $$4)
+ )
+ )
+ (i32.store align=4
+ (i32.add
+ (get_local $$4)
+ (i32.const 32)
+ )
+ (i32.load8_u align=1
+ (i32.add
+ (get_local $$0)
+ (i32.const 32)
)
- (set_local $$3
- (i32.const 1)
+ )
+ )
+ (set_local $$5
+ (i32.const 12)
+ )
+ (set_local $$5
+ (i32.add
+ (get_local $$9)
+ (get_local $$5)
+ )
+ )
+ (i64.store align=4
+ (i32.add
+ (get_local $$5)
+ (i32.const 24)
+ )
+ (i64.load align=1
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
- (set_local $$9
- (i32.store align=4
- (get_local $$3)
- (get_local $$9)
- )
+ )
+ )
+ (set_local $$6
+ (i32.const 12)
+ )
+ (set_local $$6
+ (i32.add
+ (get_local $$9)
+ (get_local $$6)
+ )
+ )
+ (i64.store align=4
+ (i32.add
+ (get_local $$6)
+ (i32.const 16)
+ )
+ (i64.load align=1
+ (i32.add
+ (get_local $$0)
+ (i32.const 16)
)
- (br $fake_return_waka123)
)
)
- )
- (func $byval_param (param $$0 i32)
- (block $fake_return_waka123
- (block
- (call_import $ext_func
+ (set_local $$7
+ (i32.const 12)
+ )
+ (set_local $$7
+ (i32.add
+ (get_local $$9)
+ (get_local $$7)
+ )
+ )
+ (i64.store align=4
+ (i32.add
+ (get_local $$7)
+ (i32.const 8)
+ )
+ (i64.load align=1
+ (i32.add
(get_local $$0)
+ (i32.const 8)
)
- (br $fake_return_waka123)
)
)
+ (i64.store offset=12 align=4
+ (get_local $$9)
+ (i64.load align=1
+ (get_local $$0)
+ )
+ )
+ (set_local $$8
+ (i32.const 12)
+ )
+ (set_local $$8
+ (i32.add
+ (get_local $$9)
+ (get_local $$8)
+ )
+ )
+ (call_import $ext_byval_func_bigarray
+ (get_local $$8)
+ )
+ (set_local $$3
+ (i32.const 48)
+ )
+ (set_local $$9
+ (i32.add
+ (get_local $$9)
+ (get_local $$3)
+ )
+ )
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$9
+ (i32.store align=4
+ (get_local $$3)
+ (get_local $$9)
+ )
+ )
+ (return)
+ )
+ (func $byval_param (param $$0 i32)
+ (call_import $ext_func
+ (get_local $$0)
+ )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/call.wast b/test/llvm_autogenerated/call.wast
index d0e1f6d33..13d042c12 100644
--- a/test/llvm_autogenerated/call.wast
+++ b/test/llvm_autogenerated/call.wast
@@ -29,116 +29,68 @@
(export "fastcc_tail_call_void_nullary" $fastcc_tail_call_void_nullary)
(export "coldcc_tail_call_void_nullary" $coldcc_tail_call_void_nullary)
(func $call_i32_nullary (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $i32_nullary)
- )
- )
+ (return
+ (call_import $i32_nullary)
)
)
(func $call_i64_nullary (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $i64_nullary)
- )
- )
+ (return
+ (call_import $i64_nullary)
)
)
(func $call_float_nullary (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $float_nullary)
- )
- )
+ (return
+ (call_import $float_nullary)
)
)
(func $call_double_nullary (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $double_nullary)
- )
- )
+ (return
+ (call_import $double_nullary)
)
)
(func $call_void_nullary
- (block $fake_return_waka123
- (block
- (call_import $void_nullary)
- (br $fake_return_waka123)
- )
- )
+ (call_import $void_nullary)
+ (return)
)
(func $call_i32_unary (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $i32_unary
- (get_local $$0)
- )
- )
+ (return
+ (call_import $i32_unary
+ (get_local $$0)
)
)
)
(func $call_i32_binary (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $i32_binary
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (call_import $i32_binary
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $call_indirect_void (param $$0 i32)
- (block $fake_return_waka123
- (block
- (call_indirect $FUNCSIG_v
- (get_local $$0)
- )
- (br $fake_return_waka123)
- )
+ (call_indirect $FUNCSIG_v
+ (get_local $$0)
)
+ (return)
)
(func $call_indirect_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_indirect $FUNCSIG_i
- (get_local $$0)
- )
- )
+ (return
+ (call_indirect $FUNCSIG_i
+ (get_local $$0)
)
)
)
(func $tail_call_void_nullary
- (block $fake_return_waka123
- (block
- (call_import $void_nullary)
- (br $fake_return_waka123)
- )
- )
+ (call_import $void_nullary)
+ (return)
)
(func $fastcc_tail_call_void_nullary
- (block $fake_return_waka123
- (block
- (call_import $void_nullary)
- (br $fake_return_waka123)
- )
- )
+ (call_import $void_nullary)
+ (return)
)
(func $coldcc_tail_call_void_nullary
- (block $fake_return_waka123
- (block
- (call_import $void_nullary)
- (br $fake_return_waka123)
- )
- )
+ (call_import $void_nullary)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/cfg-stackify.wast b/test/llvm_autogenerated/cfg-stackify.wast
index f0559f899..791b31a24 100644
--- a/test/llvm_autogenerated/cfg-stackify.wast
+++ b/test/llvm_autogenerated/cfg-stackify.wast
@@ -31,225 +31,197 @@
(export "test14" $test14)
(func $test0 (param $$0 i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 0)
+ (set_local $$1
+ (i32.const 0)
+ )
+ (loop $label$1 $label$0
+ (set_local $$1
+ (i32.add
+ (get_local $$1)
+ (i32.const 1)
)
- (loop $label$1 $label$0
- (set_local $$1
- (i32.add
- (get_local $$1)
- (i32.const 1)
- )
- )
- (br_if
- (i32.ge_s
- (get_local $$1)
- (get_local $$0)
- )
- $label$1
- )
- (call_import $something)
- (br $label$0)
+ )
+ (br_if
+ (i32.ge_s
+ (get_local $$1)
+ (get_local $$0)
)
- (br $fake_return_waka123)
+ $label$1
)
+ (call_import $something)
+ (br $label$0)
)
+ (return)
)
(func $test1 (param $$0 i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.const 0)
+ (set_local $$1
+ (i32.const 0)
+ )
+ (loop $label$1 $label$0
+ (set_local $$1
+ (i32.add
+ (get_local $$1)
+ (i32.const 1)
)
- (loop $label$1 $label$0
- (set_local $$1
- (i32.add
- (get_local $$1)
- (i32.const 1)
- )
- )
- (br_if
- (i32.ge_s
- (get_local $$1)
- (get_local $$0)
- )
- $label$1
- )
- (call_import $something)
- (br $label$0)
+ )
+ (br_if
+ (i32.ge_s
+ (get_local $$1)
+ (get_local $$0)
)
- (br $fake_return_waka123)
+ $label$1
)
+ (call_import $something)
+ (br $label$0)
)
+ (return)
)
(func $test2 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.lt_s
- (get_local $$1)
- (i32.const 1)
- )
- $label$0
+ (block $label$0
+ (br_if
+ (i32.lt_s
+ (get_local $$1)
+ (i32.const 1)
+ )
+ $label$0
+ )
+ (loop $label$2 $label$1
+ (set_local $$1
+ (i32.add
+ (get_local $$1)
+ (i32.const -1)
)
- (loop $label$2 $label$1
- (set_local $$1
- (i32.add
- (get_local $$1)
- (i32.const -1)
- )
- )
- (f64.store align=8
+ )
+ (f64.store align=8
+ (get_local $$0)
+ (f64.mul
+ (f64.load align=8
(get_local $$0)
- (f64.mul
- (f64.load align=8
- (get_local $$0)
- )
- (f64.const 3.2)
- )
- )
- (set_local $$0
- (i32.add
- (get_local $$0)
- (i32.const 8)
- )
- )
- (br_if
- (get_local $$1)
- $label$1
)
+ (f64.const 3.2)
)
)
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.add
+ (get_local $$0)
+ (i32.const 8)
+ )
+ )
+ (br_if
+ (get_local $$1)
+ $label$1
+ )
)
)
+ (return)
)
(func $doublediamond (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (i32.store align=4
- (get_local $$2)
- (i32.const 0)
- )
- (br_if
- (get_local $$0)
- $label$1
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 1)
- )
- (br $label$0)
- )
- (block $label$2
- (i32.store align=4
- (get_local $$2)
- (i32.const 2)
- )
- (br_if
- (get_local $$1)
- $label$2
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 3)
- )
- (br $label$0)
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 4)
- )
+ (block $label$0
+ (block $label$1
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 0)
+ )
+ (br_if
+ (get_local $$0)
+ $label$1
)
(i32.store align=4
(get_local $$2)
- (i32.const 5)
+ (i32.const 1)
)
- (br $fake_return_waka123
- (i32.const 0)
+ (br $label$0)
+ )
+ (block $label$2
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 2)
)
+ (br_if
+ (get_local $$1)
+ $label$2
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 3)
+ )
+ (br $label$0)
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 4)
)
)
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 5)
+ )
+ (return
+ (i32.const 0)
+ )
)
(func $triangle (param $$0 i32) (param $$1 i32) (result i32)
(local $$2 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (set_local $$2
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- )
- (br_if
- (get_local $$1)
- $label$0
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- )
+ (block $label$0
+ (set_local $$2
(i32.store align=4
(get_local $$0)
- (i32.const 2)
- )
- (br $fake_return_waka123
- (get_local $$2)
+ (i32.const 0)
)
)
+ (br_if
+ (get_local $$1)
+ $label$0
+ )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 1)
+ )
+ )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 2)
+ )
+ (return
+ (get_local $$2)
)
)
(func $diamond (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br_if
- (get_local $$1)
- $label$1
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- (br $label$0)
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 2)
- )
- )
+ (block $label$0
+ (block $label$1
(i32.store align=4
(get_local $$0)
- (i32.const 3)
- )
- (br $fake_return_waka123
(i32.const 0)
)
+ (br_if
+ (get_local $$1)
+ $label$1
+ )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 1)
+ )
+ (br $label$0)
+ )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 2)
)
)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 3)
+ )
+ (return
+ (i32.const 0)
+ )
)
(func $single_block (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- )
+ (return
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
)
)
)
@@ -267,119 +239,107 @@
)
)
(func $simple_loop (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- (loop $label$1 $label$0
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- (br_if
- (i32.eq
- (get_local $$1)
- (i32.const 0)
- )
- $label$0
- )
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 2)
- )
- (br $fake_return_waka123
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
+ )
+ (loop $label$1 $label$0
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 1)
+ )
+ (br_if
+ (i32.eq
+ (get_local $$1)
(i32.const 0)
)
+ $label$0
)
)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 2)
+ )
+ (return
+ (i32.const 0)
+ )
)
(func $doubletriangle (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
(local $$3 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (set_local $$3
- (i32.store align=4
- (get_local $$2)
- (i32.const 0)
- )
- )
- (br_if
- (get_local $$0)
- $label$0
- )
- (block $label$1
- (i32.store align=4
- (get_local $$2)
- (i32.const 2)
- )
- (br_if
- (get_local $$1)
- $label$1
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 3)
- )
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 4)
- )
+ (block $label$0
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 0)
)
+ )
+ (br_if
+ (get_local $$0)
+ $label$0
+ )
+ (block $label$1
(i32.store align=4
(get_local $$2)
- (i32.const 5)
+ (i32.const 2)
)
- (br $fake_return_waka123
- (get_local $$3)
+ (br_if
+ (get_local $$1)
+ $label$1
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 3)
)
)
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 4)
+ )
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 5)
+ )
+ (return
+ (get_local $$3)
)
)
(func $ifelse_earlyexits (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (i32.store align=4
- (get_local $$2)
- (i32.const 0)
- )
- (br_if
- (get_local $$0)
- $label$1
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 1)
- )
- (br $label$0)
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 2)
- )
- (br_if
- (get_local $$1)
- $label$0
- )
- (i32.store align=4
- (get_local $$2)
- (i32.const 3)
- )
- )
+ (block $label$0
+ (block $label$1
(i32.store align=4
(get_local $$2)
- (i32.const 4)
- )
- (br $fake_return_waka123
(i32.const 0)
)
+ (br_if
+ (get_local $$0)
+ $label$1
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 1)
+ )
+ (br $label$0)
)
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 2)
+ )
+ (br_if
+ (get_local $$1)
+ $label$0
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 3)
+ )
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (i32.const 4)
+ )
+ (return
+ (i32.const 0)
)
)
(func $doublediamond_in_a_loop (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
@@ -428,215 +388,199 @@
)
)
(func $test3 (param $$0 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
+ (block $label$0
+ (br_if
+ (i32.const 0)
+ $label$0
+ )
+ (loop $label$2 $label$1
+ (br_if
+ (get_local $$0)
+ $label$2
+ )
+ (loop $label$4 $label$3
(br_if
- (i32.const 0)
- $label$0
- )
- (loop $label$2 $label$1
- (br_if
+ (i32.ne
+ (get_local $$0)
(get_local $$0)
- $label$2
- )
- (loop $label$4 $label$3
- (br_if
- (i32.ne
- (get_local $$0)
- (get_local $$0)
- )
- $label$3
- )
)
- (call_import $bar)
- (br $label$1)
+ $label$3
)
- (unreachable)
)
- (br $fake_return_waka123)
+ (call_import $bar)
+ (br $label$1)
)
+ (unreachable)
)
+ (return)
)
(func $test4 (param $$0 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (block $label$2
- (br_if
- (i32.gt_s
- (get_local $$0)
- (i32.const 3)
- )
- $label$2
- )
- (block $label$3
- (br_if
- (i32.eq
- (get_local $$0)
- (i32.const 0)
- )
- $label$3
- )
- (br_if
- (i32.ne
- (get_local $$0)
- (i32.const 2)
- )
- $label$1
- )
- )
- (br $fake_return_waka123)
+ (block $label$0
+ (block $label$1
+ (block $label$2
+ (br_if
+ (i32.gt_s
+ (get_local $$0)
+ (i32.const 3)
)
+ $label$2
+ )
+ (block $label$3
(br_if
(i32.eq
(get_local $$0)
- (i32.const 4)
+ (i32.const 0)
)
- $label$0
+ $label$3
)
(br_if
(i32.ne
(get_local $$0)
- (i32.const 622)
+ (i32.const 2)
)
$label$1
)
- (br $fake_return_waka123)
)
- (br $fake_return_waka123)
+ (return)
+ )
+ (br_if
+ (i32.eq
+ (get_local $$0)
+ (i32.const 4)
+ )
+ $label$0
+ )
+ (br_if
+ (i32.ne
+ (get_local $$0)
+ (i32.const 622)
+ )
+ $label$1
)
- (br $fake_return_waka123)
+ (return)
)
+ (return)
)
+ (return)
)
(func $test5 (param $$0 i32) (param $$1 i32)
(local $$2 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.and
- (get_local $$0)
- (i32.const 1)
- )
- )
- (set_local $$2
- (i32.and
- (get_local $$1)
- (i32.const 1)
+ (set_local $$0
+ (i32.and
+ (get_local $$0)
+ (i32.const 1)
+ )
+ )
+ (set_local $$2
+ (i32.and
+ (get_local $$1)
+ (i32.const 1)
+ )
+ )
+ (block $label$0
+ (loop $label$2 $label$1
+ (set_local $$1
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 0)
)
)
- (block $label$0
- (loop $label$2 $label$1
- (set_local $$1
- (i32.store align=4
- (i32.const 0)
- (i32.const 0)
- )
- )
- (br_if
- (i32.eq
- (get_local $$0)
- (i32.const 0)
- )
- $label$0
- )
- (i32.store align=4
- (get_local $$1)
- (i32.const 1)
- )
- (br_if
- (get_local $$2)
- $label$1
- )
- )
- (i32.store align=4
+ (br_if
+ (i32.eq
+ (get_local $$0)
(i32.const 0)
- (i32.const 3)
)
- (br $fake_return_waka123)
+ $label$0
)
(i32.store align=4
- (i32.const 0)
- (i32.const 2)
+ (get_local $$1)
+ (i32.const 1)
+ )
+ (br_if
+ (get_local $$2)
+ $label$1
)
- (br $fake_return_waka123)
)
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 3)
+ )
+ (return)
+ )
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 2)
)
+ (return)
)
(func $test6 (param $$0 i32) (param $$1 i32)
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$2
- (i32.and
- (get_local $$0)
- (i32.const 1)
+ (set_local $$2
+ (i32.and
+ (get_local $$0)
+ (i32.const 1)
+ )
+ )
+ (block $label$0
+ (block $label$1
+ (loop $label$3 $label$2
+ (set_local $$0
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 0)
+ )
)
- )
- (block $label$0
- (block $label$1
- (loop $label$3 $label$2
- (set_local $$0
- (i32.store align=4
- (i32.const 0)
- (i32.const 0)
- )
- )
- (br_if
- (i32.eq
- (get_local $$2)
- (i32.const 0)
- )
- $label$0
- )
- (br_if
- (i32.eq
- (set_local $$3
- (i32.and
- (get_local $$1)
- (set_local $$4
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- )
+ (br_if
+ (i32.eq
+ (get_local $$2)
+ (i32.const 0)
+ )
+ $label$0
+ )
+ (br_if
+ (i32.eq
+ (set_local $$3
+ (i32.and
+ (get_local $$1)
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 1)
)
)
- (i32.const 0)
)
- $label$1
- )
- (i32.store align=4
- (get_local $$0)
- (get_local $$4)
)
- (br_if
- (get_local $$3)
- $label$2
- )
- )
- (i32.store align=4
(i32.const 0)
- (i32.const 2)
)
- (br $fake_return_waka123)
+ $label$1
)
(i32.store align=4
- (i32.const 0)
- (i32.const 3)
+ (get_local $$0)
+ (get_local $$4)
+ )
+ (br_if
+ (get_local $$3)
+ $label$2
)
)
(i32.store align=4
(i32.const 0)
- (i32.const 4)
+ (i32.const 2)
)
- (br $fake_return_waka123)
+ (return)
+ )
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 3)
)
)
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 4)
+ )
+ (return)
)
(func $test7 (param $$0 i32) (param $$1 i32)
(local $$2 i32)
@@ -730,80 +674,76 @@
(func $test9
(local $$0 i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.store align=4
- (i32.const 0)
- (i32.const 0)
+ (set_local $$0
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 0)
+ )
+ )
+ (loop $label$1 $label$0
+ (br_if
+ (i32.eq
+ (i32.and
+ (set_local $$1
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 1)
+ )
+ )
+ (call_import $a)
)
+ (i32.const 0)
)
- (loop $label$1 $label$0
+ $label$1
+ )
+ (loop $label$3 $label$2
+ (block $label$4
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 2)
+ )
(br_if
(i32.eq
(i32.and
- (set_local $$1
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- )
(call_import $a)
+ (get_local $$1)
)
(i32.const 0)
)
- $label$1
+ $label$4
)
- (loop $label$3 $label$2
- (block $label$4
- (i32.store align=4
- (get_local $$0)
- (i32.const 2)
- )
- (br_if
- (i32.eq
- (i32.and
- (call_import $a)
- (get_local $$1)
- )
- (i32.const 0)
- )
- $label$4
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 3)
- )
- (br_if
- (i32.and
- (call_import $a)
- (get_local $$1)
- )
- $label$2
- )
- (br $label$0)
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 4)
- )
- (br_if
- (i32.and
- (call_import $a)
- (get_local $$1)
- )
- $label$2
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 3)
+ )
+ (br_if
+ (i32.and
+ (call_import $a)
+ (get_local $$1)
)
- (br $label$0)
+ $label$2
)
+ (br $label$0)
)
(i32.store align=4
- (i32.const 0)
- (i32.const 5)
+ (get_local $$0)
+ (i32.const 4)
)
- (br $fake_return_waka123)
+ (br_if
+ (i32.and
+ (call_import $a)
+ (get_local $$1)
+ )
+ $label$2
+ )
+ (br $label$0)
)
)
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 5)
+ )
+ (return)
)
(func $test10
(local $$0 i32)
@@ -811,274 +751,254 @@
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 2)
- )
- (loop $label$1 $label$0
+ (set_local $$0
+ (i32.const 2)
+ )
+ (loop $label$1 $label$0
+ (set_local $$4
+ (get_local $$1)
+ )
+ (set_local $$3
+ (get_local $$0)
+ )
+ (set_local $$1
+ (i32.const 0)
+ )
+ (set_local $$0
+ (i32.const 3)
+ )
+ (set_local $$2
+ (i32.const 4)
+ )
+ (br_if
+ (get_local $$4)
+ $label$0
+ )
+ (block $label$2
+ (loop $label$4 $label$3
(set_local $$4
- (get_local $$1)
+ (get_local $$3)
)
(set_local $$3
- (get_local $$0)
- )
- (set_local $$1
- (i32.const 0)
- )
- (set_local $$0
- (i32.const 3)
- )
- (set_local $$2
- (i32.const 4)
- )
- (br_if
- (get_local $$4)
- $label$0
+ (get_local $$2)
)
- (block $label$2
- (loop $label$4 $label$3
- (set_local $$4
- (get_local $$3)
- )
- (set_local $$3
+ (loop $label$6 $label$5
+ (set_local $$2
+ (get_local $$4)
+ )
+ (br_if
+ (i32.gt_u
(get_local $$2)
+ (i32.const 4)
)
- (loop $label$6 $label$5
- (set_local $$2
- (get_local $$4)
- )
- (br_if
- (i32.gt_u
- (get_local $$2)
- (i32.const 4)
- )
- $label$0
- )
- (set_local $$4
- (get_local $$3)
- )
- (tableswitch
- (get_local $$2)
- (table (br $label$5) (br $label$6) (br $label$0) (br $label$3) (br $label$2)) (br $label$5)
- )
- )
+ $label$0
+ )
+ (set_local $$4
+ (get_local $$3)
+ )
+ (tableswitch
+ (get_local $$2)
+ (table (br $label$5) (br $label$6) (br $label$0) (br $label$3) (br $label$2)) (br $label$5)
)
- (br $fake_return_waka123)
- )
- (set_local $$1
- (i32.const 1)
)
- (br $label$0)
)
+ (return)
+ )
+ (set_local $$1
+ (i32.const 1)
)
+ (br $label$0)
)
)
(func $test11
(local $$0 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (block $label$2
- (block $label$3
- (br_if
- (set_local $$0
- (i32.store align=4
- (i32.const 0)
- (i32.const 0)
- )
- )
- $label$3
- )
- (block $label$4
- (i32.store align=4
- (get_local $$0)
- (i32.const 1)
- )
- (br_if
- (get_local $$0)
- $label$4
- )
- (i32.store align=4
- (i32.const 0)
- (i32.const 2)
- )
- (br_if
- (i32.const 0)
- $label$2
- )
- )
+ (block $label$0
+ (block $label$1
+ (block $label$2
+ (block $label$3
+ (br_if
+ (set_local $$0
(i32.store align=4
(i32.const 0)
- (i32.const 3)
+ (i32.const 0)
)
- (br $fake_return_waka123)
)
+ $label$3
+ )
+ (block $label$4
(i32.store align=4
(get_local $$0)
- (i32.const 4)
+ (i32.const 1)
)
(br_if
(get_local $$0)
- $label$0
+ $label$4
)
(i32.store align=4
(i32.const 0)
- (i32.const 5)
+ (i32.const 2)
)
(br_if
- (i32.eq
- (i32.const 0)
- (i32.const 0)
- )
- $label$1
+ (i32.const 0)
+ $label$2
)
)
(i32.store align=4
(i32.const 0)
- (i32.const 7)
+ (i32.const 3)
)
- (br $fake_return_waka123)
+ (return)
+ )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 4)
+ )
+ (br_if
+ (get_local $$0)
+ $label$0
)
(i32.store align=4
(i32.const 0)
- (i32.const 6)
+ (i32.const 5)
+ )
+ (br_if
+ (i32.eq
+ (i32.const 0)
+ (i32.const 0)
+ )
+ $label$1
)
- (br $fake_return_waka123)
)
(i32.store align=4
(i32.const 0)
- (i32.const 8)
+ (i32.const 7)
)
- (br $fake_return_waka123)
+ (return)
+ )
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 6)
)
+ (return)
)
+ (i32.store align=4
+ (i32.const 0)
+ (i32.const 8)
+ )
+ (return)
)
(func $test12 (param $$0 i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (loop $label$1 $label$0
- (block $label$2
- (block $label$3
- (block $label$4
- (br_if
- (i32.gt_s
- (set_local $$1
- (i32.load8_u align=1
- (get_local $$0)
- )
- )
- (i32.const 103)
- )
- $label$4
- )
- (br_if
- (i32.eq
- (get_local $$1)
- (i32.const 42)
- )
- $label$2
- )
- (br_if
- (i32.eq
- (get_local $$1)
- (i32.const 76)
+ (loop $label$1 $label$0
+ (block $label$2
+ (block $label$3
+ (block $label$4
+ (br_if
+ (i32.gt_s
+ (set_local $$1
+ (i32.load8_u align=1
+ (get_local $$0)
)
- $label$2
)
- (br $label$3)
+ (i32.const 103)
)
- (br_if
- (i32.eq
- (get_local $$1)
- (i32.const 108)
- )
- $label$2
+ $label$4
+ )
+ (br_if
+ (i32.eq
+ (get_local $$1)
+ (i32.const 42)
)
- (br_if
- (i32.eq
- (get_local $$1)
- (i32.const 104)
- )
- $label$2
+ $label$2
+ )
+ (br_if
+ (i32.eq
+ (get_local $$1)
+ (i32.const 76)
)
+ $label$2
)
- (br $fake_return_waka123)
+ (br $label$3)
)
- (set_local $$0
- (i32.add
- (get_local $$0)
- (i32.const 1)
+ (br_if
+ (i32.eq
+ (get_local $$1)
+ (i32.const 108)
)
+ $label$2
+ )
+ (br_if
+ (i32.eq
+ (get_local $$1)
+ (i32.const 104)
+ )
+ $label$2
)
- (br $label$0)
)
+ (return)
)
+ (set_local $$0
+ (i32.add
+ (get_local $$0)
+ (i32.const 1)
+ )
+ )
+ (br $label$0)
)
)
(func $test13
(local $$0 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.eq
- (i32.const 0)
- (i32.const 0)
- )
- $label$0
- )
- (br $fake_return_waka123)
- )
- (set_local $$0
+ (block $label$0
+ (br_if
+ (i32.eq
+ (i32.const 0)
(i32.const 0)
)
- (block $label$1
- (br_if
+ $label$0
+ )
+ (return)
+ )
+ (set_local $$0
+ (i32.const 0)
+ )
+ (block $label$1
+ (br_if
+ (get_local $$0)
+ $label$1
+ )
+ (set_local $$0
+ (i32.const 0)
+ )
+ )
+ (block $label$2
+ (br_if
+ (i32.eq
+ (i32.and
(get_local $$0)
- $label$1
- )
- (set_local $$0
- (i32.const 0)
- )
- )
- (block $label$2
- (br_if
- (i32.eq
- (i32.and
- (get_local $$0)
- (i32.const 1)
- )
- (i32.const 0)
- )
- $label$2
+ (i32.const 1)
)
+ (i32.const 0)
)
- (unreachable)
+ $label$2
)
)
+ (unreachable)
)
(func $test14
- (block $fake_return_waka123
- (block
- (loop $label$1 $label$0
- (br_if
- (i32.const 0)
- $label$0
- )
- )
- (loop $label$3 $label$2
- (i32.const 0)
- (br_if
- (i32.const 0)
- $label$2
- )
- )
- (br $fake_return_waka123)
+ (loop $label$1 $label$0
+ (br_if
+ (i32.const 0)
+ $label$0
+ )
+ )
+ (loop $label$3 $label$2
+ (i32.const 0)
+ (br_if
+ (i32.const 0)
+ $label$2
)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/comparisons_f32.wast b/test/llvm_autogenerated/comparisons_f32.wast
index 97f4aeea9..1a2b6839e 100644
--- a/test/llvm_autogenerated/comparisons_f32.wast
+++ b/test/llvm_autogenerated/comparisons_f32.wast
@@ -15,252 +15,196 @@
(export "ugt_f32" $ugt_f32)
(export "uge_f32" $uge_f32)
(func $ord_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (f32.eq
- (get_local $$0)
- (get_local $$0)
- )
- (f32.eq
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.and
+ (f32.eq
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.eq
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
(func $uno_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
(func $oeq_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.eq
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.eq
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $une_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.ne
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.ne
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $olt_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.lt
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.lt
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ole_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.le
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.le
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ogt_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.gt
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.gt
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $oge_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.ge
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.ge
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ueq_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.eq
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.eq
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $one_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (f32.ne
- (get_local $$0)
- (get_local $$1)
- )
- (i32.and
- (f32.eq
- (get_local $$0)
- (get_local $$0)
- )
- (f32.eq
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.and
+ (f32.ne
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.and
+ (f32.eq
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.eq
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ult_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.lt
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.lt
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ule_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.le
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.le
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ugt_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.gt
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.gt
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $uge_f32 (param $$0 f32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f32.ge
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f32.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f32.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f32.ge
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f32.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f32.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/comparisons_f64.wast b/test/llvm_autogenerated/comparisons_f64.wast
index 69658d3e3..07819355d 100644
--- a/test/llvm_autogenerated/comparisons_f64.wast
+++ b/test/llvm_autogenerated/comparisons_f64.wast
@@ -15,252 +15,196 @@
(export "ugt_f64" $ugt_f64)
(export "uge_f64" $uge_f64)
(func $ord_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (f64.eq
- (get_local $$0)
- (get_local $$0)
- )
- (f64.eq
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.and
+ (f64.eq
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.eq
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
(func $uno_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
(func $oeq_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.eq
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.eq
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $une_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.ne
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.ne
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $olt_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.lt
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.lt
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ole_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.le
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.le
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ogt_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.gt
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.gt
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $oge_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.ge
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.ge
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ueq_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.eq
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.eq
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $one_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (f64.ne
- (get_local $$0)
- (get_local $$1)
- )
- (i32.and
- (f64.eq
- (get_local $$0)
- (get_local $$0)
- )
- (f64.eq
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.and
+ (f64.ne
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.and
+ (f64.eq
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.eq
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ult_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.lt
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.lt
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ule_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.le
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.le
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $ugt_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.gt
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.gt
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
)
)
(func $uge_f64 (param $$0 f64) (param $$1 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (f64.ge
- (get_local $$0)
- (get_local $$1)
- )
- (i32.or
- (f64.ne
- (get_local $$0)
- (get_local $$0)
- )
- (f64.ne
- (get_local $$1)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (f64.ge
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (i32.or
+ (f64.ne
+ (get_local $$0)
+ (get_local $$0)
+ )
+ (f64.ne
+ (get_local $$1)
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/comparisons_i32.wast b/test/llvm_autogenerated/comparisons_i32.wast
index 063aad1cd..266a7ceb6 100644
--- a/test/llvm_autogenerated/comparisons_i32.wast
+++ b/test/llvm_autogenerated/comparisons_i32.wast
@@ -11,122 +11,82 @@
(export "ugt_i32" $ugt_i32)
(export "uge_i32" $uge_i32)
(func $eq_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.eq
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.eq
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ne_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.ne
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.ne
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $slt_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.lt_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.lt_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sle_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.le_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.le_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ult_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.lt_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.lt_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ule_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.le_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.le_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sgt_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.gt_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.gt_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sge_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.ge_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.ge_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ugt_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.gt_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.gt_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $uge_i32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.ge_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.ge_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/comparisons_i64.wast b/test/llvm_autogenerated/comparisons_i64.wast
index dc0b18f34..0665c8add 100644
--- a/test/llvm_autogenerated/comparisons_i64.wast
+++ b/test/llvm_autogenerated/comparisons_i64.wast
@@ -11,122 +11,82 @@
(export "ugt_i64" $ugt_i64)
(export "uge_i64" $uge_i64)
(func $eq_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.eq
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.eq
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ne_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.ne
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.ne
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $slt_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.lt_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.lt_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sle_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.le_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.le_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ult_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.lt_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.lt_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ule_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.le_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.le_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sgt_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.gt_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.gt_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sge_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.ge_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.ge_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $ugt_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.gt_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.gt_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $uge_i64 (param $$0 i64) (param $$1 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.ge_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.ge_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/conv.wast b/test/llvm_autogenerated/conv.wast
index 266f72c4f..4cc7ea0d3 100644
--- a/test/llvm_autogenerated/conv.wast
+++ b/test/llvm_autogenerated/conv.wast
@@ -27,291 +27,187 @@
(export "bitcast_i64_to_double" $bitcast_i64_to_double)
(export "bitcast_double_to_i64" $bitcast_double_to_i64)
(func $i32_wrap_i64 (param $$0 i64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.wrap/i64
- (get_local $$0)
- )
- )
+ (return
+ (i32.wrap/i64
+ (get_local $$0)
)
)
)
(func $i64_extend_s_i32 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.extend_s/i32
- (get_local $$0)
- )
- )
+ (return
+ (i64.extend_s/i32
+ (get_local $$0)
)
)
)
(func $i64_extend_u_i32 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.extend_u/i32
- (get_local $$0)
- )
- )
+ (return
+ (i64.extend_u/i32
+ (get_local $$0)
)
)
)
(func $i32_trunc_s_f32 (param $$0 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.trunc_s/f32
- (get_local $$0)
- )
- )
+ (return
+ (i32.trunc_s/f32
+ (get_local $$0)
)
)
)
(func $i32_trunc_u_f32 (param $$0 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.trunc_u/f32
- (get_local $$0)
- )
- )
+ (return
+ (i32.trunc_u/f32
+ (get_local $$0)
)
)
)
(func $i32_trunc_s_f64 (param $$0 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.trunc_s/f64
- (get_local $$0)
- )
- )
+ (return
+ (i32.trunc_s/f64
+ (get_local $$0)
)
)
)
(func $i32_trunc_u_f64 (param $$0 f64) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.trunc_u/f64
- (get_local $$0)
- )
- )
+ (return
+ (i32.trunc_u/f64
+ (get_local $$0)
)
)
)
(func $i64_trunc_s_f32 (param $$0 f32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.trunc_s/f32
- (get_local $$0)
- )
- )
+ (return
+ (i64.trunc_s/f32
+ (get_local $$0)
)
)
)
(func $i64_trunc_u_f32 (param $$0 f32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.trunc_u/f32
- (get_local $$0)
- )
- )
+ (return
+ (i64.trunc_u/f32
+ (get_local $$0)
)
)
)
(func $i64_trunc_s_f64 (param $$0 f64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.trunc_s/f64
- (get_local $$0)
- )
- )
+ (return
+ (i64.trunc_s/f64
+ (get_local $$0)
)
)
)
(func $i64_trunc_u_f64 (param $$0 f64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.trunc_u/f64
- (get_local $$0)
- )
- )
+ (return
+ (i64.trunc_u/f64
+ (get_local $$0)
)
)
)
(func $f32_convert_s_i32 (param $$0 i32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.convert_s/i32
- (get_local $$0)
- )
- )
+ (return
+ (f32.convert_s/i32
+ (get_local $$0)
)
)
)
(func $f32_convert_u_i32 (param $$0 i32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.convert_u/i32
- (get_local $$0)
- )
- )
+ (return
+ (f32.convert_u/i32
+ (get_local $$0)
)
)
)
(func $f64_convert_s_i32 (param $$0 i32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.convert_s/i32
- (get_local $$0)
- )
- )
+ (return
+ (f64.convert_s/i32
+ (get_local $$0)
)
)
)
(func $f64_convert_u_i32 (param $$0 i32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.convert_u/i32
- (get_local $$0)
- )
- )
+ (return
+ (f64.convert_u/i32
+ (get_local $$0)
)
)
)
(func $f32_convert_s_i64 (param $$0 i64) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.convert_s/i64
- (get_local $$0)
- )
- )
+ (return
+ (f32.convert_s/i64
+ (get_local $$0)
)
)
)
(func $f32_convert_u_i64 (param $$0 i64) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.convert_u/i64
- (get_local $$0)
- )
- )
+ (return
+ (f32.convert_u/i64
+ (get_local $$0)
)
)
)
(func $f64_convert_s_i64 (param $$0 i64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.convert_s/i64
- (get_local $$0)
- )
- )
+ (return
+ (f64.convert_s/i64
+ (get_local $$0)
)
)
)
(func $f64_convert_u_i64 (param $$0 i64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.convert_u/i64
- (get_local $$0)
- )
- )
+ (return
+ (f64.convert_u/i64
+ (get_local $$0)
)
)
)
(func $f64_promote_f32 (param $$0 f32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.promote/f32
- (get_local $$0)
- )
- )
+ (return
+ (f64.promote/f32
+ (get_local $$0)
)
)
)
(func $f32_demote_f64 (param $$0 f64) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.demote/f64
- (get_local $$0)
- )
- )
+ (return
+ (f32.demote/f64
+ (get_local $$0)
)
)
)
(func $anyext (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shl
- (i64.extend_u/i32
- (get_local $$0)
- )
- (i64.const 32)
- )
+ (return
+ (i64.shl
+ (i64.extend_u/i32
+ (get_local $$0)
)
+ (i64.const 32)
)
)
)
(func $bitcast_i32_to_float (param $$0 i32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.reinterpret/i32
- (get_local $$0)
- )
- )
+ (return
+ (f32.reinterpret/i32
+ (get_local $$0)
)
)
)
(func $bitcast_float_to_i32 (param $$0 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.reinterpret/f32
- (get_local $$0)
- )
- )
+ (return
+ (i32.reinterpret/f32
+ (get_local $$0)
)
)
)
(func $bitcast_i64_to_double (param $$0 i64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.reinterpret/i64
- (get_local $$0)
- )
- )
+ (return
+ (f64.reinterpret/i64
+ (get_local $$0)
)
)
)
(func $bitcast_double_to_i64 (param $$0 f64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.reinterpret/f64
- (get_local $$0)
- )
- )
+ (return
+ (i64.reinterpret/f64
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/copysign-casts.wast b/test/llvm_autogenerated/copysign-casts.wast
index 29dc45983..22b72089f 100644
--- a/test/llvm_autogenerated/copysign-casts.wast
+++ b/test/llvm_autogenerated/copysign-casts.wast
@@ -3,29 +3,21 @@
(export "fold_promote" $fold_promote)
(export "fold_demote" $fold_demote)
(func $fold_promote (param $$0 f64) (param $$1 f32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.copysign
- (get_local $$0)
- (f64.promote/f32
- (get_local $$1)
- )
- )
+ (return
+ (f64.copysign
+ (get_local $$0)
+ (f64.promote/f32
+ (get_local $$1)
)
)
)
)
(func $fold_demote (param $$0 f32) (param $$1 f64) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.copysign
- (get_local $$0)
- (f32.demote/f64
- (get_local $$1)
- )
- )
+ (return
+ (f32.copysign
+ (get_local $$0)
+ (f32.demote/f64
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/cpus.wast b/test/llvm_autogenerated/cpus.wast
index a93c9ebe8..090ee859e 100644
--- a/test/llvm_autogenerated/cpus.wast
+++ b/test/llvm_autogenerated/cpus.wast
@@ -2,12 +2,8 @@
(memory 0 4294967295)
(export "f" $f)
(func $f (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$0)
- )
- )
+ (return
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/dead-vreg.wast b/test/llvm_autogenerated/dead-vreg.wast
index 282cd8fe0..e0b4ae6f4 100644
--- a/test/llvm_autogenerated/dead-vreg.wast
+++ b/test/llvm_autogenerated/dead-vreg.wast
@@ -8,99 +8,95 @@
(local $$6 i32)
(local $$7 i32)
(local $$8 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
+ (block $label$0
+ (br_if
+ (i32.lt_s
+ (get_local $$2)
+ (i32.const 1)
+ )
+ $label$0
+ )
+ (set_local $$3
+ (i32.shl
+ (get_local $$1)
+ (i32.const 2)
+ )
+ )
+ (set_local $$5
+ (i32.const 0)
+ )
+ (set_local $$4
+ (i32.lt_s
+ (get_local $$1)
+ (i32.const 1)
+ )
+ )
+ (loop $label$2 $label$1
+ (set_local $$6
+ (i32.const 0)
+ )
+ (set_local $$7
+ (get_local $$0)
+ )
+ (set_local $$8
+ (get_local $$1)
+ )
+ (block $label$3
(br_if
- (i32.lt_s
- (get_local $$2)
- (i32.const 1)
- )
- $label$0
- )
- (set_local $$3
- (i32.shl
- (get_local $$1)
- (i32.const 2)
- )
+ (get_local $$4)
+ $label$3
)
- (set_local $$5
- (i32.const 0)
- )
- (set_local $$4
- (i32.lt_s
- (get_local $$1)
- (i32.const 1)
- )
- )
- (loop $label$2 $label$1
- (set_local $$6
- (i32.const 0)
- )
- (set_local $$7
- (get_local $$0)
+ (loop $label$5 $label$4
+ (i32.store align=4
+ (get_local $$7)
+ (get_local $$6)
)
(set_local $$8
- (get_local $$1)
- )
- (block $label$3
- (br_if
- (get_local $$4)
- $label$3
- )
- (loop $label$5 $label$4
- (i32.store align=4
- (get_local $$7)
- (get_local $$6)
- )
- (set_local $$8
- (i32.add
- (get_local $$8)
- (i32.const -1)
- )
- )
- (set_local $$7
- (i32.add
- (get_local $$7)
- (i32.const 4)
- )
- )
- (set_local $$6
- (i32.add
- (get_local $$6)
- (get_local $$5)
- )
- )
- (br_if
- (get_local $$8)
- $label$4
- )
+ (i32.add
+ (get_local $$8)
+ (i32.const -1)
)
)
- (set_local $$5
+ (set_local $$7
(i32.add
- (get_local $$5)
- (i32.const 1)
+ (get_local $$7)
+ (i32.const 4)
)
)
- (set_local $$0
+ (set_local $$6
(i32.add
- (get_local $$0)
- (get_local $$3)
+ (get_local $$6)
+ (get_local $$5)
)
)
(br_if
- (i32.ne
- (get_local $$5)
- (get_local $$2)
- )
- $label$1
+ (get_local $$8)
+ $label$4
)
)
)
- (br $fake_return_waka123)
+ (set_local $$5
+ (i32.add
+ (get_local $$5)
+ (i32.const 1)
+ )
+ )
+ (set_local $$0
+ (i32.add
+ (get_local $$0)
+ (get_local $$3)
+ )
+ )
+ (br_if
+ (i32.ne
+ (get_local $$5)
+ (get_local $$2)
+ )
+ $label$1
+ )
)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/f32.wast b/test/llvm_autogenerated/f32.wast
index 38b7e2eb3..1a1919bf7 100644
--- a/test/llvm_autogenerated/f32.wast
+++ b/test/llvm_autogenerated/f32.wast
@@ -19,187 +19,123 @@
(export "fmax32" $fmax32)
(export "fma32" $fma32)
(func $fadd32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fsub32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.sub
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fmul32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.mul
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.mul
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fdiv32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.div
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.div
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fabs32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.abs
- (get_local $$0)
- )
- )
+ (return
+ (f32.abs
+ (get_local $$0)
)
)
)
(func $fneg32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.neg
- (get_local $$0)
- )
- )
+ (return
+ (f32.neg
+ (get_local $$0)
)
)
)
(func $copysign32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.copysign
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f32.copysign
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sqrt32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.sqrt
- (get_local $$0)
- )
- )
+ (return
+ (f32.sqrt
+ (get_local $$0)
)
)
)
(func $ceil32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.ceil
- (get_local $$0)
- )
- )
+ (return
+ (f32.ceil
+ (get_local $$0)
)
)
)
(func $floor32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.floor
- (get_local $$0)
- )
- )
+ (return
+ (f32.floor
+ (get_local $$0)
)
)
)
(func $trunc32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.trunc
- (get_local $$0)
- )
- )
+ (return
+ (f32.trunc
+ (get_local $$0)
)
)
)
(func $nearest32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.nearest
- (get_local $$0)
- )
- )
+ (return
+ (f32.nearest
+ (get_local $$0)
)
)
)
(func $nearest32_via_rint (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.nearest
- (get_local $$0)
- )
- )
+ (return
+ (f32.nearest
+ (get_local $$0)
)
)
)
(func $fmin32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.min
- (get_local $$0)
- (f32.const 0)
- )
- )
+ (return
+ (f32.min
+ (get_local $$0)
+ (f32.const 0)
)
)
)
(func $fmax32 (param $$0 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.max
- (get_local $$0)
- (f32.const 0)
- )
- )
+ (return
+ (f32.max
+ (get_local $$0)
+ (f32.const 0)
)
)
)
(func $fma32 (param $$0 f32) (param $$1 f32) (param $$2 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $fmaf
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $fmaf
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/llvm_autogenerated/f64.wast b/test/llvm_autogenerated/f64.wast
index 33b0faa6f..c87f90d4a 100644
--- a/test/llvm_autogenerated/f64.wast
+++ b/test/llvm_autogenerated/f64.wast
@@ -19,187 +19,123 @@
(export "fmax64" $fmax64)
(export "fma64" $fma64)
(func $fadd64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fsub64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.sub
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fmul64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.mul
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.mul
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fdiv64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.div
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.div
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $fabs64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.abs
- (get_local $$0)
- )
- )
+ (return
+ (f64.abs
+ (get_local $$0)
)
)
)
(func $fneg64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.neg
- (get_local $$0)
- )
- )
+ (return
+ (f64.neg
+ (get_local $$0)
)
)
)
(func $copysign64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.copysign
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (f64.copysign
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sqrt64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.sqrt
- (get_local $$0)
- )
- )
+ (return
+ (f64.sqrt
+ (get_local $$0)
)
)
)
(func $ceil64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.ceil
- (get_local $$0)
- )
- )
+ (return
+ (f64.ceil
+ (get_local $$0)
)
)
)
(func $floor64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.floor
- (get_local $$0)
- )
- )
+ (return
+ (f64.floor
+ (get_local $$0)
)
)
)
(func $trunc64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.trunc
- (get_local $$0)
- )
- )
+ (return
+ (f64.trunc
+ (get_local $$0)
)
)
)
(func $nearest64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.nearest
- (get_local $$0)
- )
- )
+ (return
+ (f64.nearest
+ (get_local $$0)
)
)
)
(func $nearest64_via_rint (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.nearest
- (get_local $$0)
- )
- )
+ (return
+ (f64.nearest
+ (get_local $$0)
)
)
)
(func $fmin64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.min
- (get_local $$0)
- (f64.const 0)
- )
- )
+ (return
+ (f64.min
+ (get_local $$0)
+ (f64.const 0)
)
)
)
(func $fmax64 (param $$0 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.max
- (get_local $$0)
- (f64.const 0)
- )
- )
+ (return
+ (f64.max
+ (get_local $$0)
+ (f64.const 0)
)
)
)
(func $fma64 (param $$0 f64) (param $$1 f64) (param $$2 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $fma
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $fma
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/llvm_autogenerated/fast-isel.wast b/test/llvm_autogenerated/fast-isel.wast
index 00b4e93fd..fbf0189ca 100644
--- a/test/llvm_autogenerated/fast-isel.wast
+++ b/test/llvm_autogenerated/fast-isel.wast
@@ -3,21 +3,13 @@
(export "immediate_f32" $immediate_f32)
(export "immediate_f64" $immediate_f64)
(func $immediate_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const 2.5)
- )
- )
+ (return
+ (f32.const 2.5)
)
)
(func $immediate_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const 2.5)
- )
- )
+ (return
+ (f64.const 2.5)
)
)
)
diff --git a/test/llvm_autogenerated/frem.wast b/test/llvm_autogenerated/frem.wast
index 21d14d9e9..d8e807e35 100644
--- a/test/llvm_autogenerated/frem.wast
+++ b/test/llvm_autogenerated/frem.wast
@@ -7,26 +7,18 @@
(export "frem32" $frem32)
(export "frem64" $frem64)
(func $frem32 (param $$0 f32) (param $$1 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $fmodf
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (call_import $fmodf
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $frem64 (param $$0 f64) (param $$1 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $fmod
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (call_import $fmod
+ (get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/llvm_autogenerated/func.wast b/test/llvm_autogenerated/func.wast
index 4ee2497f7..d3c82126a 100644
--- a/test/llvm_autogenerated/func.wast
+++ b/test/llvm_autogenerated/func.wast
@@ -7,60 +7,40 @@
(export "f4" $f4)
(export "f5" $f5)
(func $f0
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $f1 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $f2 (param $$0 i32) (param $$1 f32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $f3 (param $$0 i32) (param $$1 f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $f4 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.eq
- (i32.and
- (get_local $$0)
- (i32.const 1)
- )
- (i32.const 0)
- )
- $label$0
+ (block $label$0
+ (br_if
+ (i32.eq
+ (i32.and
+ (get_local $$0)
+ (i32.const 1)
)
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
- (br $fake_return_waka123
- (i32.const 1)
+ (i32.const 0)
)
+ $label$0
+ )
+ (return
+ (i32.const 0)
)
)
+ (return
+ (i32.const 1)
+ )
)
(func $f5 (result f32)
(unreachable)
diff --git a/test/llvm_autogenerated/global.wast b/test/llvm_autogenerated/global.wast
index 722c5998e..3f628c265 100644
--- a/test/llvm_autogenerated/global.wast
+++ b/test/llvm_autogenerated/global.wast
@@ -18,26 +18,18 @@
(export "foo" $foo)
(export "call_memcpy" $call_memcpy)
(func $foo (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load offset=28 align=4
- (i32.const 0)
- )
- )
+ (return
+ (i32.load offset=28 align=4
+ (i32.const 0)
)
)
)
(func $call_memcpy (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $memcpy
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $memcpy
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/llvm_autogenerated/globl.wast b/test/llvm_autogenerated/globl.wast
index d9abf5ebc..62927c6b5 100644
--- a/test/llvm_autogenerated/globl.wast
+++ b/test/llvm_autogenerated/globl.wast
@@ -2,11 +2,7 @@
(memory 0 4294967295)
(export "foo" $foo)
(func $foo
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/i32-load-store-alignment.wast b/test/llvm_autogenerated/i32-load-store-alignment.wast
index b0ed4951a..9200f474f 100644
--- a/test/llvm_autogenerated/i32-load-store-alignment.wast
+++ b/test/llvm_autogenerated/i32-load-store-alignment.wast
@@ -21,224 +21,144 @@
(export "sti16_a2" $sti16_a2)
(export "sti16_a4" $sti16_a4)
(func $ldi32_a1 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=1
+ (get_local $$0)
)
)
)
(func $ldi32_a2 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=2
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=2
+ (get_local $$0)
)
)
)
(func $ldi32_a4 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=4
+ (get_local $$0)
)
)
)
(func $ldi32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=4
+ (get_local $$0)
)
)
)
(func $ldi32_a8 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=8
+ (get_local $$0)
)
)
)
(func $ldi8_a1 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u align=1
+ (get_local $$0)
)
)
)
(func $ldi8_a2 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u align=2
+ (get_local $$0)
)
)
)
(func $ldi16_a1 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load16_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load16_u align=1
+ (get_local $$0)
)
)
)
(func $ldi16_a2 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load16_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i32.load16_u align=2
+ (get_local $$0)
)
)
)
(func $ldi16_a4 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load16_u align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load16_u align=4
+ (get_local $$0)
)
)
)
(func $sti32_a1 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=1
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=1
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a2 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=2
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=2
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a4 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a8 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti8_a1 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti8_a2 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=2
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=2
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a1 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=1
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=1
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a2 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=16
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=16
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a4 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/i32.wast b/test/llvm_autogenerated/i32.wast
index 7cbe54970..ad5c12ef8 100644
--- a/test/llvm_autogenerated/i32.wast
+++ b/test/llvm_autogenerated/i32.wast
@@ -19,213 +19,141 @@
(export "ctz32_zero_undef" $ctz32_zero_undef)
(export "popcnt32" $popcnt32)
(func $add32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sub32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $mul32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.mul
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.mul
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sdiv32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.div_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.div_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $udiv32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.div_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.div_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $srem32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.rem_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.rem_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $urem32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.rem_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.rem_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $and32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.and
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $or32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.or
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.or
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $xor32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.xor
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.xor
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $shl32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shl
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.shl
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $shr32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shr_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.shr_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sar32 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shr_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i32.shr_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $clz32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.clz
- (get_local $$0)
- )
- )
+ (return
+ (i32.clz
+ (get_local $$0)
)
)
)
(func $clz32_zero_undef (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.clz
- (get_local $$0)
- )
- )
+ (return
+ (i32.clz
+ (get_local $$0)
)
)
)
(func $ctz32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.ctz
- (get_local $$0)
- )
- )
+ (return
+ (i32.ctz
+ (get_local $$0)
)
)
)
(func $ctz32_zero_undef (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.ctz
- (get_local $$0)
- )
- )
+ (return
+ (i32.ctz
+ (get_local $$0)
)
)
)
(func $popcnt32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.popcnt
- (get_local $$0)
- )
- )
+ (return
+ (i32.popcnt
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/i64-load-store-alignment.wast b/test/llvm_autogenerated/i64-load-store-alignment.wast
index bd86f0512..ec57fbe27 100644
--- a/test/llvm_autogenerated/i64-load-store-alignment.wast
+++ b/test/llvm_autogenerated/i64-load-store-alignment.wast
@@ -31,334 +31,214 @@
(export "sti32_a4" $sti32_a4)
(export "sti32_a8" $sti32_a8)
(func $ldi64_a1 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=1
+ (get_local $$0)
)
)
)
(func $ldi64_a2 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=2
+ (get_local $$0)
)
)
)
(func $ldi64_a4 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=4
+ (get_local $$0)
)
)
)
(func $ldi64_a8 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=8
+ (get_local $$0)
)
)
)
(func $ldi64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=8
+ (get_local $$0)
)
)
)
(func $ldi64_a16 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=16
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=16
+ (get_local $$0)
)
)
)
(func $ldi8_a1 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load8_u align=1
+ (get_local $$0)
)
)
)
(func $ldi8_a2 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load8_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load8_u align=2
+ (get_local $$0)
)
)
)
(func $ldi16_a1 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load16_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load16_u align=1
+ (get_local $$0)
)
)
)
(func $ldi16_a2 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load16_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load16_u align=2
+ (get_local $$0)
)
)
)
(func $ldi16_a4 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load16_u align=4
- (get_local $$0)
- )
- )
+ (return
+ (i64.load16_u align=4
+ (get_local $$0)
)
)
)
(func $ldi32_a1 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_u align=1
+ (get_local $$0)
)
)
)
(func $ldi32_a2 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_u align=2
+ (get_local $$0)
)
)
)
(func $ldi32_a4 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_u align=4
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_u align=4
+ (get_local $$0)
)
)
)
(func $ldi32_a8 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_u align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_u align=8
+ (get_local $$0)
)
)
)
(func $sti64_a1 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=1
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=1
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64_a2 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=2
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=2
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64_a4 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64_a8 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64_a16 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=16
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=16
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti8_a1 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti8_a2 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=2
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=2
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a1 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=1
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=1
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a2 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=16
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=16
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti16_a4 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a1 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=1
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=1
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a2 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=2
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=2
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a4 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=32
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=32
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti32_a8 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/i64.wast b/test/llvm_autogenerated/i64.wast
index 5007bb578..08b0916c5 100644
--- a/test/llvm_autogenerated/i64.wast
+++ b/test/llvm_autogenerated/i64.wast
@@ -19,213 +19,141 @@
(export "ctz64_zero_undef" $ctz64_zero_undef)
(export "popcnt64" $popcnt64)
(func $add64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.add
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.add
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sub64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.sub
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $mul64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.mul
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.mul
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sdiv64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.div_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.div_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $udiv64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.div_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.div_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $srem64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.rem_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.rem_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $urem64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.rem_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.rem_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $and64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.and
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.and
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $or64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.or
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.or
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $xor64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.xor
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.xor
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $shl64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shl
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.shl
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $shr64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shr_u
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.shr_u
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $sar64 (param $$0 i64) (param $$1 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shr_s
- (get_local $$0)
- (get_local $$1)
- )
- )
+ (return
+ (i64.shr_s
+ (get_local $$0)
+ (get_local $$1)
)
)
)
(func $clz64 (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.clz
- (get_local $$0)
- )
- )
+ (return
+ (i64.clz
+ (get_local $$0)
)
)
)
(func $clz64_zero_undef (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.clz
- (get_local $$0)
- )
- )
+ (return
+ (i64.clz
+ (get_local $$0)
)
)
)
(func $ctz64 (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.ctz
- (get_local $$0)
- )
- )
+ (return
+ (i64.ctz
+ (get_local $$0)
)
)
)
(func $ctz64_zero_undef (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.ctz
- (get_local $$0)
- )
- )
+ (return
+ (i64.ctz
+ (get_local $$0)
)
)
)
(func $popcnt64 (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.popcnt
- (get_local $$0)
- )
- )
+ (return
+ (i64.popcnt
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/immediates.wast b/test/llvm_autogenerated/immediates.wast
index f4c6ad255..9abca6b0a 100644
--- a/test/llvm_autogenerated/immediates.wast
+++ b/test/llvm_autogenerated/immediates.wast
@@ -25,219 +25,123 @@
(export "inf_f64" $inf_f64)
(export "neginf_f64" $neginf_f64)
(func $zero_i32 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 0)
- )
- )
+ (return
+ (i32.const 0)
)
)
(func $one_i32 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 1)
- )
- )
+ (return
+ (i32.const 1)
)
)
(func $max_i32 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 2147483647)
- )
- )
+ (return
+ (i32.const 2147483647)
)
)
(func $min_i32 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const -2147483648)
- )
- )
+ (return
+ (i32.const -2147483648)
)
)
(func $zero_i64 (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.const 0)
- )
- )
+ (return
+ (i64.const 0)
)
)
(func $one_i64 (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.const 1)
- )
- )
+ (return
+ (i64.const 1)
)
)
(func $max_i64 (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.const 9223372036854775807)
- )
- )
+ (return
+ (i64.const 9223372036854775807)
)
)
(func $min_i64 (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.const -9223372036854775808)
- )
- )
+ (return
+ (i64.const -9223372036854775808)
)
)
(func $negzero_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const -0)
- )
- )
+ (return
+ (f32.const -0)
)
)
(func $zero_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const 0)
- )
- )
+ (return
+ (f32.const 0)
)
)
(func $one_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const 1)
- )
- )
+ (return
+ (f32.const 1)
)
)
(func $two_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const 2)
- )
- )
+ (return
+ (f32.const 2)
)
)
(func $nan_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const nan:0x400000)
- )
- )
+ (return
+ (f32.const nan:0x400000)
)
)
(func $negnan_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const -nan:0x400000)
- )
- )
+ (return
+ (f32.const -nan:0x400000)
)
)
(func $inf_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const infinity)
- )
- )
+ (return
+ (f32.const infinity)
)
)
(func $neginf_f32 (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.const -infinity)
- )
- )
+ (return
+ (f32.const -infinity)
)
)
(func $negzero_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const -0)
- )
- )
+ (return
+ (f64.const -0)
)
)
(func $zero_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const 0)
- )
- )
+ (return
+ (f64.const 0)
)
)
(func $one_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const 1)
- )
- )
+ (return
+ (f64.const 1)
)
)
(func $two_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const 2)
- )
- )
+ (return
+ (f64.const 2)
)
)
(func $nan_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const nan:0x8000000000000)
- )
- )
+ (return
+ (f64.const nan:0x8000000000000)
)
)
(func $negnan_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const -nan:0x8000000000000)
- )
- )
+ (return
+ (f64.const -nan:0x8000000000000)
)
)
(func $inf_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const infinity)
- )
- )
+ (return
+ (f64.const infinity)
)
)
(func $neginf_f64 (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.const -infinity)
- )
- )
+ (return
+ (f64.const -infinity)
)
)
)
diff --git a/test/llvm_autogenerated/legalize.wast b/test/llvm_autogenerated/legalize.wast
index 66aa5a194..d2681356a 100644
--- a/test/llvm_autogenerated/legalize.wast
+++ b/test/llvm_autogenerated/legalize.wast
@@ -10,72 +10,52 @@
(export "fpconv_f64_f32" $fpconv_f64_f32)
(export "bigshift" $bigshift)
(func $shl_i3 (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shl
- (get_local $$0)
- (i32.and
- (get_local $$1)
- (i32.const 7)
- )
- )
+ (return
+ (i32.shl
+ (get_local $$0)
+ (i32.and
+ (get_local $$1)
+ (i32.const 7)
)
)
)
)
(func $shl_i53 (param $$0 i64) (param $$1 i64) (param $$2 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shl
- (get_local $$0)
- (i64.and
- (get_local $$1)
- (i64.const 9007199254740991)
- )
- )
+ (return
+ (i64.shl
+ (get_local $$0)
+ (i64.and
+ (get_local $$1)
+ (i64.const 9007199254740991)
)
)
)
)
(func $sext_in_reg_i32_i64 (param $$0 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shr_s
- (i64.shl
- (get_local $$0)
- (i64.const 32)
- )
- (i64.const 32)
- )
+ (return
+ (i64.shr_s
+ (i64.shl
+ (get_local $$0)
+ (i64.const 32)
)
+ (i64.const 32)
)
)
)
(func $fpext_f32_f64 (param $$0 i32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.promote/f32
- (f32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (f64.promote/f32
+ (f32.load align=4
+ (get_local $$0)
)
)
)
)
(func $fpconv_f64_f32 (param $$0 i32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.demote/f64
- (f64.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (f32.demote/f64
+ (f64.load align=8
+ (get_local $$0)
)
)
)
@@ -361,3541 +341,3537 @@
(local $$310 i32)
(local $$311 i32)
(local $$312 i32)
- (block $fake_return_waka123
- (block
- (set_local $$183
- (i32.const 1)
- )
- (set_local $$183
- (i32.load align=4
- (get_local $$183)
- )
- )
- (set_local $$184
- (i32.const 1024)
- )
- (set_local $$312
- (i32.sub
- (get_local $$183)
- (get_local $$184)
- )
- )
- (set_local $$184
- (i32.const 1)
- )
- (set_local $$312
- (i32.store align=4
- (get_local $$184)
- (get_local $$312)
- )
- )
- (set_local $$186
- (i32.const 480)
- )
- (set_local $$186
- (i32.add
- (get_local $$312)
- (get_local $$186)
- )
- )
- (call_import $__lshrti3
- (get_local $$186)
- (get_local $$1)
- (get_local $$2)
- (i64.sub
- (i64.const 896)
- (get_local $$17)
- )
- )
- (set_local $$187
- (i32.const 464)
- )
- (set_local $$187
- (i32.add
- (get_local $$312)
- (get_local $$187)
- )
- )
- (call_import $__ashlti3
- (get_local $$187)
- (get_local $$3)
- (get_local $$4)
- (set_local $$182
- (i64.add
- (get_local $$17)
- (i64.const -768)
- )
- )
- )
- (set_local $$188
- (i32.const 496)
- )
- (set_local $$188
- (i32.add
- (get_local $$312)
- (get_local $$188)
- )
- )
- (call_import $__ashlti3
- (get_local $$188)
- (get_local $$1)
- (get_local $$2)
- (i64.add
- (get_local $$17)
- (i64.const -896)
- )
- )
- (set_local $$189
- (i32.const 352)
- )
- (set_local $$189
- (i32.add
- (get_local $$312)
- (get_local $$189)
- )
- )
- (call_import $__lshrti3
- (get_local $$189)
- (get_local $$5)
- (get_local $$6)
- (set_local $$181
- (i64.sub
- (i64.const 640)
- (get_local $$17)
- )
- )
- )
- (set_local $$190
- (i32.const 336)
- )
- (set_local $$190
- (i32.add
- (get_local $$312)
- (get_local $$190)
- )
- )
- (call_import $__ashlti3
- (get_local $$190)
- (get_local $$7)
- (get_local $$8)
- (set_local $$180
- (i64.add
- (get_local $$17)
- (i64.const -512)
- )
- )
- )
- (set_local $$191
- (i32.const 368)
- )
- (set_local $$191
- (i32.add
- (get_local $$312)
- (get_local $$191)
- )
- )
- (call_import $__ashlti3
- (get_local $$191)
- (get_local $$5)
- (get_local $$6)
- (set_local $$179
- (i64.add
- (get_local $$17)
- (i64.const -640)
- )
- )
- )
- (set_local $$192
- (i32.const 432)
- )
- (set_local $$192
- (i32.add
- (get_local $$312)
- (get_local $$192)
- )
- )
- (call_import $__lshrti3
- (get_local $$192)
- (get_local $$3)
- (get_local $$4)
- (set_local $$178
- (i64.sub
- (i64.const 768)
- (get_local $$17)
- )
- )
- )
- (set_local $$193
- (i32.const 864)
- )
- (set_local $$193
- (i32.add
- (get_local $$312)
- (get_local $$193)
- )
- )
- (call_import $__lshrti3
- (get_local $$193)
- (get_local $$9)
- (get_local $$10)
- (set_local $$177
- (i64.sub
- (i64.const 384)
- (get_local $$17)
- )
- )
- )
- (set_local $$194
- (i32.const 848)
- )
- (set_local $$194
- (i32.add
- (get_local $$312)
- (get_local $$194)
- )
- )
- (call_import $__ashlti3
- (get_local $$194)
- (get_local $$11)
- (get_local $$12)
- (set_local $$176
- (i64.add
- (get_local $$17)
- (i64.const -256)
- )
- )
- )
- (set_local $$195
- (i32.const 880)
- )
- (set_local $$195
- (i32.add
- (get_local $$312)
- (get_local $$195)
- )
- )
- (call_import $__ashlti3
- (get_local $$195)
- (get_local $$9)
- (get_local $$10)
- (set_local $$175
- (i64.add
- (get_local $$17)
- (i64.const -384)
- )
- )
- )
- (set_local $$196
- (i32.const 1008)
- )
- (set_local $$196
- (i32.add
- (get_local $$312)
- (get_local $$196)
- )
- )
- (call_import $__ashlti3
- (get_local $$196)
- (get_local $$15)
- (get_local $$16)
+ (set_local $$183
+ (i32.const 1)
+ )
+ (set_local $$183
+ (i32.load align=4
+ (get_local $$183)
+ )
+ )
+ (set_local $$184
+ (i32.const 1024)
+ )
+ (set_local $$312
+ (i32.sub
+ (get_local $$183)
+ (get_local $$184)
+ )
+ )
+ (set_local $$184
+ (i32.const 1)
+ )
+ (set_local $$312
+ (i32.store align=4
+ (get_local $$184)
+ (get_local $$312)
+ )
+ )
+ (set_local $$186
+ (i32.const 480)
+ )
+ (set_local $$186
+ (i32.add
+ (get_local $$312)
+ (get_local $$186)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$186)
+ (get_local $$1)
+ (get_local $$2)
+ (i64.sub
+ (i64.const 896)
+ (get_local $$17)
+ )
+ )
+ (set_local $$187
+ (i32.const 464)
+ )
+ (set_local $$187
+ (i32.add
+ (get_local $$312)
+ (get_local $$187)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$187)
+ (get_local $$3)
+ (get_local $$4)
+ (set_local $$182
+ (i64.add
(get_local $$17)
+ (i64.const -768)
)
- (set_local $$197
- (i32.const 960)
- )
- (set_local $$197
- (i32.add
- (get_local $$312)
- (get_local $$197)
- )
- )
- (call_import $__lshrti3
- (get_local $$197)
- (get_local $$13)
- (get_local $$14)
- (set_local $$174
- (i64.sub
- (i64.const 128)
- (get_local $$17)
- )
- )
- )
- (set_local $$198
- (i32.const 976)
- )
- (set_local $$198
- (i32.add
- (get_local $$312)
- (get_local $$198)
- )
- )
- (call_import $__ashlti3
- (get_local $$198)
- (get_local $$13)
- (get_local $$14)
- (set_local $$173
- (i64.add
- (get_local $$17)
- (i64.const -128)
- )
- )
- )
- (set_local $$199
- (i32.const 816)
- )
- (set_local $$199
- (i32.add
- (get_local $$312)
- (get_local $$199)
- )
- )
- (call_import $__lshrti3
- (get_local $$199)
- (get_local $$11)
- (get_local $$12)
- (set_local $$172
- (i64.sub
- (i64.const 256)
- (get_local $$17)
- )
- )
- )
- (set_local $$200
- (i32.const 240)
- )
- (set_local $$200
- (i32.add
- (get_local $$312)
- (get_local $$200)
- )
- )
- (call_import $__lshrti3
- (get_local $$200)
- (get_local $$7)
- (get_local $$8)
- (set_local $$171
- (i64.sub
- (i64.const 512)
- (get_local $$17)
- )
- )
- )
- (set_local $$201
- (i32.const 912)
- )
- (set_local $$201
- (i32.add
- (get_local $$312)
- (get_local $$201)
- )
- )
- (call_import $__ashlti3
- (get_local $$201)
- (get_local $$11)
- (get_local $$12)
+ )
+ )
+ (set_local $$188
+ (i32.const 496)
+ )
+ (set_local $$188
+ (i32.add
+ (get_local $$312)
+ (get_local $$188)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$188)
+ (get_local $$1)
+ (get_local $$2)
+ (i64.add
+ (get_local $$17)
+ (i64.const -896)
+ )
+ )
+ (set_local $$189
+ (i32.const 352)
+ )
+ (set_local $$189
+ (i32.add
+ (get_local $$312)
+ (get_local $$189)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$189)
+ (get_local $$5)
+ (get_local $$6)
+ (set_local $$181
+ (i64.sub
+ (i64.const 640)
(get_local $$17)
)
- (set_local $$202
- (i32.const 928)
- )
- (set_local $$202
- (i32.add
- (get_local $$312)
- (get_local $$202)
- )
- )
- (call_import $__lshrti3
- (get_local $$202)
- (get_local $$9)
- (get_local $$10)
- (get_local $$174)
- )
- (set_local $$203
- (i32.const 944)
- )
- (set_local $$203
- (i32.add
- (get_local $$312)
- (get_local $$203)
- )
- )
- (call_import $__ashlti3
- (get_local $$203)
- (get_local $$9)
- (get_local $$10)
- (get_local $$173)
- )
- (set_local $$204
- (i32.const 80)
- )
- (set_local $$204
- (i32.add
- (get_local $$312)
- (get_local $$204)
- )
- )
- (call_import $__ashlti3
- (get_local $$204)
- (get_local $$7)
- (get_local $$8)
- (set_local $$170
- (i64.sub
- (i64.const 256)
- (get_local $$171)
- )
- )
- )
- (set_local $$205
- (i32.const 96)
- )
- (set_local $$205
- (i32.add
- (get_local $$312)
- (get_local $$205)
- )
- )
- (call_import $__lshrti3
- (get_local $$205)
- (get_local $$5)
- (get_local $$6)
- (i64.sub
- (i64.const 128)
- (get_local $$170)
- )
- )
- (set_local $$206
- (i32.const 112)
- )
- (set_local $$206
- (i32.add
- (get_local $$312)
- (get_local $$206)
- )
- )
- (call_import $__ashlti3
- (get_local $$206)
- (get_local $$5)
- (get_local $$6)
- (set_local $$169
- (i64.sub
- (i64.const 128)
- (get_local $$171)
- )
- )
- )
- (set_local $$207
- (i32.const 48)
- )
- (set_local $$207
- (i32.add
- (get_local $$312)
- (get_local $$207)
- )
- )
- (call_import $__lshrti3
- (get_local $$207)
- (get_local $$3)
- (get_local $$4)
- (get_local $$171)
- )
- (set_local $$208
- (i32.const 176)
- )
- (set_local $$208
- (i32.add
- (get_local $$312)
- (get_local $$208)
- )
- )
- (call_import $__lshrti3
- (get_local $$208)
- (get_local $$7)
- (get_local $$8)
- (get_local $$172)
- )
- (set_local $$209
- (i32.const 288)
- )
- (set_local $$209
- (i32.add
- (get_local $$312)
- (get_local $$209)
- )
- )
- (call_import $__lshrti3
- (get_local $$209)
- (get_local $$1)
- (get_local $$2)
- (get_local $$181)
- )
- (set_local $$210
- (i32.const 272)
- )
- (set_local $$210
- (i32.add
- (get_local $$312)
- (get_local $$210)
- )
- )
- (call_import $__ashlti3
- (get_local $$210)
- (get_local $$3)
- (get_local $$4)
- (get_local $$180)
- )
- (set_local $$211
- (i32.const 304)
- )
- (set_local $$211
- (i32.add
- (get_local $$312)
- (get_local $$211)
- )
- )
- (call_import $__ashlti3
- (get_local $$211)
- (get_local $$1)
- (get_local $$2)
- (get_local $$179)
- )
- (set_local $$212
- (i32.const 128)
- )
- (set_local $$212
- (i32.add
- (get_local $$312)
- (get_local $$212)
- )
- )
- (call_import $__lshrti3
- (get_local $$212)
- (get_local $$5)
- (get_local $$6)
- (get_local $$172)
- )
- (set_local $$213
- (i32.const 144)
- )
- (set_local $$213
- (i32.add
- (get_local $$312)
- (get_local $$213)
- )
- )
- (call_import $__ashlti3
- (get_local $$213)
- (get_local $$7)
- (get_local $$8)
- (i64.sub
- (i64.const 384)
- (get_local $$171)
- )
- )
- (set_local $$214
- (i32.const 160)
- )
- (set_local $$214
- (i32.add
- (get_local $$312)
- (get_local $$214)
- )
- )
- (call_import $__lshrti3
- (get_local $$214)
- (get_local $$7)
- (get_local $$8)
- (get_local $$174)
- )
- (call_import $__lshrti3
- (get_local $$312)
- (get_local $$1)
- (get_local $$2)
- (get_local $$171)
- )
- (set_local $$215
- (i32.const 16)
- )
- (set_local $$215
- (i32.add
- (get_local $$312)
- (get_local $$215)
- )
- )
- (call_import $__ashlti3
- (get_local $$215)
- (get_local $$3)
- (get_local $$4)
- (get_local $$169)
- )
- (set_local $$216
- (i32.const 32)
- )
- (set_local $$216
- (i32.add
- (get_local $$312)
- (get_local $$216)
- )
- )
- (call_import $__lshrti3
- (get_local $$216)
- (get_local $$3)
- (get_local $$4)
- (get_local $$177)
- )
- (set_local $$217
- (i32.const 64)
- )
- (set_local $$217
- (i32.add
- (get_local $$312)
- (get_local $$217)
- )
- )
- (call_import $__ashlti3
- (get_local $$217)
- (get_local $$5)
- (get_local $$6)
- (get_local $$170)
- )
- (set_local $$218
- (i32.const 896)
- )
- (set_local $$218
- (i32.add
- (get_local $$312)
- (get_local $$218)
- )
- )
- (call_import $__ashlti3
- (get_local $$218)
- (get_local $$9)
- (get_local $$10)
+ )
+ )
+ (set_local $$190
+ (i32.const 336)
+ )
+ (set_local $$190
+ (i32.add
+ (get_local $$312)
+ (get_local $$190)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$190)
+ (get_local $$7)
+ (get_local $$8)
+ (set_local $$180
+ (i64.add
(get_local $$17)
+ (i64.const -512)
)
- (set_local $$219
- (i32.const 256)
- )
- (set_local $$219
- (i32.add
- (get_local $$312)
- (get_local $$219)
- )
- )
- (call_import $__ashlti3
- (get_local $$219)
- (get_local $$1)
- (get_local $$2)
- (get_local $$180)
- )
- (set_local $$220
- (i32.const 192)
- )
- (set_local $$220
- (i32.add
- (get_local $$312)
- (get_local $$220)
- )
- )
- (call_import $__lshrti3
- (get_local $$220)
- (get_local $$5)
- (get_local $$6)
- (get_local $$171)
- )
- (set_local $$221
- (i32.const 208)
- )
- (set_local $$221
- (i32.add
- (get_local $$312)
- (get_local $$221)
- )
- )
- (call_import $__ashlti3
- (get_local $$221)
- (get_local $$7)
- (get_local $$8)
- (get_local $$169)
- )
- (set_local $$222
- (i32.const 224)
- )
- (set_local $$222
- (i32.add
- (get_local $$312)
- (get_local $$222)
- )
- )
- (call_import $__lshrti3
- (get_local $$222)
- (get_local $$7)
- (get_local $$8)
- (get_local $$177)
- )
- (set_local $$223
- (i32.const 768)
- )
- (set_local $$223
- (i32.add
- (get_local $$312)
- (get_local $$223)
- )
- )
- (call_import $__lshrti3
- (get_local $$223)
- (get_local $$9)
- (get_local $$10)
- (get_local $$172)
- )
- (set_local $$224
- (i32.const 784)
- )
- (set_local $$224
- (i32.add
- (get_local $$312)
- (get_local $$224)
- )
- )
- (call_import $__ashlti3
- (get_local $$224)
- (get_local $$11)
- (get_local $$12)
- (set_local $$169
- (i64.sub
- (i64.const 128)
- (get_local $$172)
- )
- )
- )
- (set_local $$225
- (i32.const 800)
- )
- (set_local $$225
- (i32.add
- (get_local $$312)
- (get_local $$225)
- )
- )
- (call_import $__lshrti3
- (get_local $$225)
- (get_local $$11)
- (get_local $$12)
- (get_local $$174)
- )
- (set_local $$226
- (i32.const 992)
- )
- (set_local $$226
- (i32.add
- (get_local $$312)
- (get_local $$226)
- )
- )
- (call_import $__ashlti3
- (get_local $$226)
- (get_local $$13)
- (get_local $$14)
+ )
+ )
+ (set_local $$191
+ (i32.const 368)
+ )
+ (set_local $$191
+ (i32.add
+ (get_local $$312)
+ (get_local $$191)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$191)
+ (get_local $$5)
+ (get_local $$6)
+ (set_local $$179
+ (i64.add
(get_local $$17)
+ (i64.const -640)
)
- (set_local $$227
- (i32.const 832)
- )
- (set_local $$227
- (i32.add
- (get_local $$312)
- (get_local $$227)
- )
- )
- (call_import $__ashlti3
- (get_local $$227)
- (get_local $$9)
- (get_local $$10)
- (get_local $$176)
- )
- (set_local $$228
- (i32.const 384)
- )
- (set_local $$228
- (i32.add
- (get_local $$312)
- (get_local $$228)
- )
- )
- (call_import $__lshrti3
- (get_local $$228)
- (get_local $$1)
- (get_local $$2)
- (get_local $$178)
- )
- (set_local $$229
- (i32.const 400)
- )
- (set_local $$229
- (i32.add
- (get_local $$312)
- (get_local $$229)
- )
- )
- (call_import $__ashlti3
- (get_local $$229)
- (get_local $$3)
- (get_local $$4)
- (i64.sub
- (i64.const 128)
- (get_local $$178)
- )
- )
- (set_local $$230
- (i32.const 416)
- )
- (set_local $$230
- (i32.add
- (get_local $$312)
- (get_local $$230)
- )
- )
- (call_import $__lshrti3
- (get_local $$230)
- (get_local $$3)
- (get_local $$4)
- (get_local $$181)
- )
- (set_local $$231
- (i32.const 320)
- )
- (set_local $$231
- (i32.add
- (get_local $$312)
- (get_local $$231)
- )
- )
- (call_import $__ashlti3
- (get_local $$231)
- (get_local $$5)
- (get_local $$6)
- (get_local $$180)
- )
- (set_local $$232
- (i32.const 448)
- )
- (set_local $$232
- (i32.add
- (get_local $$312)
- (get_local $$232)
- )
- )
- (call_import $__ashlti3
- (get_local $$232)
- (get_local $$1)
- (get_local $$2)
- (get_local $$182)
- )
- (set_local $$233
- (i32.const 736)
- )
- (set_local $$233
- (i32.add
- (get_local $$312)
- (get_local $$233)
- )
- )
- (call_import $__lshrti3
- (get_local $$233)
- (get_local $$1)
- (get_local $$2)
- (get_local $$177)
- )
- (set_local $$234
- (i32.const 720)
- )
- (set_local $$234
- (i32.add
- (get_local $$312)
- (get_local $$234)
- )
- )
- (call_import $__ashlti3
- (get_local $$234)
- (get_local $$3)
- (get_local $$4)
- (get_local $$176)
- )
- (set_local $$235
- (i32.const 752)
- )
- (set_local $$235
- (i32.add
- (get_local $$312)
- (get_local $$235)
- )
- )
- (call_import $__ashlti3
- (get_local $$235)
- (get_local $$1)
- (get_local $$2)
- (get_local $$175)
- )
- (set_local $$236
- (i32.const 592)
- )
- (set_local $$236
- (i32.add
- (get_local $$312)
- (get_local $$236)
- )
- )
- (call_import $__ashlti3
- (get_local $$236)
- (get_local $$7)
- (get_local $$8)
+ )
+ )
+ (set_local $$192
+ (i32.const 432)
+ )
+ (set_local $$192
+ (i32.add
+ (get_local $$312)
+ (get_local $$192)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$192)
+ (get_local $$3)
+ (get_local $$4)
+ (set_local $$178
+ (i64.sub
+ (i64.const 768)
(get_local $$17)
)
- (set_local $$237
- (i32.const 608)
- )
- (set_local $$237
- (i32.add
- (get_local $$312)
- (get_local $$237)
- )
- )
- (call_import $__lshrti3
- (get_local $$237)
- (get_local $$5)
- (get_local $$6)
- (get_local $$174)
- )
- (set_local $$238
- (i32.const 624)
- )
- (set_local $$238
- (i32.add
- (get_local $$312)
- (get_local $$238)
- )
- )
- (call_import $__ashlti3
- (get_local $$238)
- (get_local $$5)
- (get_local $$6)
- (get_local $$173)
- )
- (set_local $$239
- (i32.const 688)
- )
- (set_local $$239
- (i32.add
- (get_local $$312)
- (get_local $$239)
- )
- )
- (call_import $__lshrti3
- (get_local $$239)
- (get_local $$3)
- (get_local $$4)
- (get_local $$172)
- )
- (set_local $$240
- (i32.const 640)
- )
- (set_local $$240
- (i32.add
- (get_local $$312)
- (get_local $$240)
- )
- )
- (call_import $__lshrti3
- (get_local $$240)
- (get_local $$1)
- (get_local $$2)
- (get_local $$172)
- )
- (set_local $$241
- (i32.const 656)
- )
- (set_local $$241
- (i32.add
- (get_local $$312)
- (get_local $$241)
- )
- )
- (call_import $__ashlti3
- (get_local $$241)
- (get_local $$3)
- (get_local $$4)
- (get_local $$169)
- )
- (set_local $$242
- (i32.const 672)
- )
- (set_local $$242
- (i32.add
- (get_local $$312)
- (get_local $$242)
- )
- )
- (call_import $__lshrti3
- (get_local $$242)
- (get_local $$3)
- (get_local $$4)
- (get_local $$174)
- )
- (set_local $$243
- (i32.const 576)
- )
- (set_local $$243
- (i32.add
- (get_local $$312)
- (get_local $$243)
- )
- )
- (call_import $__ashlti3
- (get_local $$243)
- (get_local $$5)
- (get_local $$6)
+ )
+ )
+ (set_local $$193
+ (i32.const 864)
+ )
+ (set_local $$193
+ (i32.add
+ (get_local $$312)
+ (get_local $$193)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$193)
+ (get_local $$9)
+ (get_local $$10)
+ (set_local $$177
+ (i64.sub
+ (i64.const 384)
(get_local $$17)
)
- (set_local $$244
- (i32.const 704)
- )
- (set_local $$244
- (i32.add
- (get_local $$312)
- (get_local $$244)
- )
- )
- (call_import $__ashlti3
- (get_local $$244)
- (get_local $$1)
- (get_local $$2)
- (get_local $$176)
- )
- (set_local $$245
- (i32.const 528)
- )
- (set_local $$245
- (i32.add
- (get_local $$312)
- (get_local $$245)
- )
- )
- (call_import $__ashlti3
- (get_local $$245)
- (get_local $$3)
- (get_local $$4)
+ )
+ )
+ (set_local $$194
+ (i32.const 848)
+ )
+ (set_local $$194
+ (i32.add
+ (get_local $$312)
+ (get_local $$194)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$194)
+ (get_local $$11)
+ (get_local $$12)
+ (set_local $$176
+ (i64.add
(get_local $$17)
+ (i64.const -256)
)
- (set_local $$246
- (i32.const 544)
- )
- (set_local $$246
- (i32.add
- (get_local $$312)
- (get_local $$246)
- )
- )
- (call_import $__lshrti3
- (get_local $$246)
- (get_local $$1)
- (get_local $$2)
- (get_local $$174)
- )
- (set_local $$247
- (i32.const 560)
- )
- (set_local $$247
- (i32.add
- (get_local $$312)
- (get_local $$247)
- )
- )
- (call_import $__ashlti3
- (get_local $$247)
- (get_local $$1)
- (get_local $$2)
- (get_local $$173)
- )
- (set_local $$248
- (i32.const 512)
- )
- (set_local $$248
- (i32.add
- (get_local $$312)
- (get_local $$248)
- )
- )
- (call_import $__ashlti3
- (get_local $$248)
- (get_local $$1)
- (get_local $$2)
+ )
+ )
+ (set_local $$195
+ (i32.const 880)
+ )
+ (set_local $$195
+ (i32.add
+ (get_local $$312)
+ (get_local $$195)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$195)
+ (get_local $$9)
+ (get_local $$10)
+ (set_local $$175
+ (i64.add
(get_local $$17)
+ (i64.const -384)
)
- (set_local $$249
- (i32.const 480)
- )
- (set_local $$249
- (i32.add
- (get_local $$312)
- (get_local $$249)
- )
- )
- (set_local $$174
- (i64.load align=8
- (i32.add
- (get_local $$249)
- (i32.const 8)
- )
- )
- )
- (set_local $$250
- (i32.const 464)
- )
- (set_local $$250
- (i32.add
- (get_local $$312)
- (get_local $$250)
- )
- )
- (set_local $$177
- (i64.load align=8
- (i32.add
- (get_local $$250)
- (i32.const 8)
- )
- )
- )
- (set_local $$173
- (i64.load offset=480 align=8
- (get_local $$312)
- )
- )
- (set_local $$181
- (i64.load offset=464 align=8
- (get_local $$312)
- )
- )
- (set_local $$169
- (i64.load offset=496 align=8
- (get_local $$312)
- )
- )
- (set_local $$251
- (i32.const 496)
- )
- (set_local $$251
- (i32.add
- (get_local $$312)
- (get_local $$251)
- )
- )
- (set_local $$179
- (i64.load align=8
- (i32.add
- (get_local $$251)
- (i32.const 8)
- )
- )
- )
- (set_local $$252
- (i32.const 352)
- )
- (set_local $$252
- (i32.add
- (get_local $$312)
- (get_local $$252)
- )
- )
- (set_local $$175
- (i64.load align=8
- (i32.add
- (get_local $$252)
- (i32.const 8)
- )
- )
- )
- (set_local $$253
- (i32.const 336)
- )
- (set_local $$253
- (i32.add
- (get_local $$312)
- (get_local $$253)
- )
- )
- (set_local $$45
- (i64.load align=8
- (i32.add
- (get_local $$253)
- (i32.const 8)
- )
- )
- )
- (set_local $$254
- (i32.const 368)
- )
- (set_local $$254
- (i32.add
- (get_local $$312)
- (get_local $$254)
- )
- )
- (set_local $$46
- (i64.load align=8
- (i32.add
- (get_local $$254)
- (i32.const 8)
- )
- )
- )
- (set_local $$255
- (i32.const 432)
- )
- (set_local $$255
- (i32.add
- (get_local $$312)
- (get_local $$255)
- )
- )
- (set_local $$47
- (i64.load align=8
- (i32.add
- (get_local $$255)
- (i32.const 8)
- )
- )
- )
- (set_local $$256
- (i32.const 864)
- )
- (set_local $$256
- (i32.add
- (get_local $$312)
- (get_local $$256)
- )
- )
- (set_local $$48
- (i64.load align=8
- (i32.add
- (get_local $$256)
- (i32.const 8)
- )
- )
- )
- (set_local $$257
- (i32.const 848)
- )
- (set_local $$257
- (i32.add
- (get_local $$312)
- (get_local $$257)
- )
- )
- (set_local $$49
- (i64.load align=8
- (i32.add
- (get_local $$257)
- (i32.const 8)
- )
- )
- )
- (set_local $$258
- (i32.const 880)
- )
- (set_local $$258
- (i32.add
- (get_local $$312)
- (get_local $$258)
- )
- )
- (set_local $$50
- (i64.load align=8
- (i32.add
- (get_local $$258)
- (i32.const 8)
- )
- )
- )
- (set_local $$259
- (i32.const 1008)
- )
- (set_local $$259
- (i32.add
- (get_local $$312)
- (get_local $$259)
- )
- )
- (set_local $$51
- (i64.load align=8
- (i32.add
- (get_local $$259)
- (i32.const 8)
- )
- )
- )
- (set_local $$260
- (i32.const 960)
- )
- (set_local $$260
- (i32.add
- (get_local $$312)
- (get_local $$260)
- )
- )
- (set_local $$52
- (i64.load align=8
- (i32.add
- (get_local $$260)
- (i32.const 8)
- )
- )
- )
- (set_local $$261
- (i32.const 976)
- )
- (set_local $$261
- (i32.add
- (get_local $$312)
- (get_local $$261)
- )
- )
- (set_local $$53
- (i64.load align=8
- (i32.add
- (get_local $$261)
- (i32.const 8)
- )
- )
- )
- (set_local $$262
- (i32.const 816)
- )
- (set_local $$262
- (i32.add
- (get_local $$312)
- (get_local $$262)
- )
- )
- (set_local $$54
- (i64.load align=8
- (i32.add
- (get_local $$262)
- (i32.const 8)
- )
- )
- )
- (set_local $$263
- (i32.const 240)
- )
- (set_local $$263
- (i32.add
- (get_local $$312)
- (get_local $$263)
- )
- )
- (set_local $$55
- (i64.load align=8
- (i32.add
- (get_local $$263)
- (i32.const 8)
- )
- )
- )
- (set_local $$264
- (i32.const 912)
- )
- (set_local $$264
- (i32.add
- (get_local $$312)
- (get_local $$264)
- )
- )
- (set_local $$67
- (i64.load align=8
- (i32.add
- (get_local $$264)
- (i32.const 8)
- )
- )
- )
- (set_local $$265
- (i32.const 928)
- )
- (set_local $$265
- (i32.add
- (get_local $$312)
- (get_local $$265)
- )
- )
- (set_local $$68
- (i64.load align=8
- (i32.add
- (get_local $$265)
- (i32.const 8)
- )
- )
- )
- (set_local $$266
- (i32.const 944)
- )
- (set_local $$266
- (i32.add
- (get_local $$312)
- (get_local $$266)
- )
- )
- (set_local $$69
- (i64.load align=8
- (i32.add
- (get_local $$266)
- (i32.const 8)
- )
- )
- )
- (set_local $$267
- (i32.const 80)
- )
- (set_local $$267
- (i32.add
- (get_local $$312)
- (get_local $$267)
- )
- )
- (set_local $$70
- (i64.load align=8
- (i32.add
- (get_local $$267)
- (i32.const 8)
- )
- )
- )
- (set_local $$268
- (i32.const 96)
- )
- (set_local $$268
- (i32.add
- (get_local $$312)
- (get_local $$268)
- )
- )
- (set_local $$71
- (i64.load align=8
- (i32.add
- (get_local $$268)
- (i32.const 8)
- )
- )
- )
- (set_local $$59
- (i64.load offset=80 align=8
- (get_local $$312)
- )
- )
- (set_local $$60
- (i64.load offset=96 align=8
- (get_local $$312)
- )
- )
- (set_local $$61
- (i64.load offset=112 align=8
- (get_local $$312)
- )
- )
- (set_local $$269
- (i32.const 112)
- )
- (set_local $$269
- (i32.add
- (get_local $$312)
- (get_local $$269)
- )
- )
- (set_local $$72
- (i64.load align=8
- (i32.add
- (get_local $$269)
- (i32.const 8)
- )
- )
- )
- (set_local $$270
- (i32.const 48)
- )
- (set_local $$270
- (i32.add
- (get_local $$312)
- (get_local $$270)
- )
- )
- (set_local $$73
- (i64.load align=8
- (i32.add
- (get_local $$270)
- (i32.const 8)
- )
- )
- )
- (set_local $$271
- (i32.const 176)
- )
- (set_local $$271
- (i32.add
- (get_local $$312)
- (get_local $$271)
- )
- )
- (set_local $$74
- (i64.load align=8
- (i32.add
- (get_local $$271)
- (i32.const 8)
- )
- )
- )
- (set_local $$272
- (i32.const 288)
- )
- (set_local $$272
- (i32.add
- (get_local $$312)
- (get_local $$272)
- )
- )
- (set_local $$75
- (i64.load align=8
- (i32.add
- (get_local $$272)
- (i32.const 8)
- )
- )
- )
- (set_local $$273
- (i32.const 272)
- )
- (set_local $$273
- (i32.add
- (get_local $$312)
- (get_local $$273)
- )
- )
- (set_local $$76
- (i64.load align=8
- (i32.add
- (get_local $$273)
- (i32.const 8)
- )
- )
- )
- (set_local $$274
- (i32.const 304)
- )
- (set_local $$274
- (i32.add
- (get_local $$312)
- (get_local $$274)
- )
- )
- (set_local $$77
- (i64.load align=8
- (i32.add
- (get_local $$274)
- (i32.const 8)
- )
- )
- )
- (set_local $$275
- (i32.const 128)
- )
- (set_local $$275
- (i32.add
- (get_local $$312)
- (get_local $$275)
- )
- )
- (set_local $$87
- (i64.load align=8
- (i32.add
- (get_local $$275)
- (i32.const 8)
- )
- )
- )
- (set_local $$276
- (i32.const 144)
- )
- (set_local $$276
- (i32.add
- (get_local $$312)
- (get_local $$276)
- )
- )
- (set_local $$88
- (i64.load align=8
- (i32.add
- (get_local $$276)
- (i32.const 8)
- )
- )
- )
- (set_local $$277
- (i32.const 160)
- )
- (set_local $$277
- (i32.add
- (get_local $$312)
- (get_local $$277)
- )
- )
- (set_local $$89
- (i64.load align=8
- (i32.add
- (get_local $$277)
- (i32.const 8)
- )
- )
- )
- (set_local $$90
- (i64.load align=8
- (i32.add
- (get_local $$312)
- (i32.const 8)
- )
- )
- )
- (set_local $$278
- (i32.const 16)
- )
- (set_local $$278
- (i32.add
- (get_local $$312)
- (get_local $$278)
- )
- )
- (set_local $$91
- (i64.load align=8
- (i32.add
- (get_local $$278)
- (i32.const 8)
- )
- )
- )
- (set_local $$84
- (i64.load offset=64 align=8
- (get_local $$312)
- )
- )
- (set_local $$279
- (i32.const 64)
- )
- (set_local $$279
- (i32.add
- (get_local $$312)
- (get_local $$279)
- )
- )
- (set_local $$93
- (i64.load align=8
- (i32.add
- (get_local $$279)
- (i32.const 8)
- )
- )
- )
- (set_local $$280
- (i32.const 32)
- )
- (set_local $$280
- (i32.add
- (get_local $$312)
- (get_local $$280)
- )
- )
- (set_local $$92
- (i64.load align=8
- (i32.add
- (get_local $$280)
- (i32.const 8)
- )
- )
- )
- (set_local $$281
- (i32.const 896)
- )
- (set_local $$281
- (i32.add
- (get_local $$312)
- (get_local $$281)
- )
- )
- (set_local $$94
- (i64.load align=8
- (i32.add
- (get_local $$281)
- (i32.const 8)
- )
- )
- )
- (set_local $$282
- (i32.const 256)
- )
- (set_local $$282
- (i32.add
- (get_local $$312)
- (get_local $$282)
- )
- )
- (set_local $$95
- (i64.load align=8
- (i32.add
- (get_local $$282)
- (i32.const 8)
- )
- )
- )
- (set_local $$283
- (i32.const 192)
- )
- (set_local $$283
- (i32.add
- (get_local $$312)
- (get_local $$283)
- )
- )
- (set_local $$109
- (i64.load align=8
- (i32.add
- (get_local $$283)
- (i32.const 8)
- )
- )
- )
- (set_local $$284
- (i32.const 208)
- )
- (set_local $$284
- (i32.add
- (get_local $$312)
- (get_local $$284)
- )
- )
- (set_local $$110
- (i64.load align=8
- (i32.add
- (get_local $$284)
- (i32.const 8)
- )
- )
- )
- (set_local $$81
- (i64.load align=8
- (get_local $$312)
- )
- )
- (set_local $$82
- (i64.load offset=16 align=8
- (get_local $$312)
- )
- )
- (set_local $$83
- (i64.load offset=32 align=8
- (get_local $$312)
- )
- )
- (set_local $$285
- (i32.const 224)
- )
- (set_local $$285
- (i32.add
- (get_local $$312)
- (get_local $$285)
- )
- )
- (set_local $$111
- (i64.load align=8
- (i32.add
- (get_local $$285)
- (i32.const 8)
- )
- )
- )
- (set_local $$96
- (i64.load offset=192 align=8
- (get_local $$312)
- )
- )
- (set_local $$97
- (i64.load offset=208 align=8
- (get_local $$312)
- )
- )
- (set_local $$98
- (i64.load offset=224 align=8
- (get_local $$312)
- )
- )
- (set_local $$44
- (i64.load offset=240 align=8
- (get_local $$312)
- )
- )
- (set_local $$62
- (i64.load offset=48 align=8
- (get_local $$312)
- )
- )
- (set_local $$63
- (i64.load offset=176 align=8
- (get_local $$312)
- )
- )
- (set_local $$78
- (i64.load offset=128 align=8
- (get_local $$312)
- )
- )
- (set_local $$79
- (i64.load offset=144 align=8
- (get_local $$312)
- )
- )
- (set_local $$80
- (i64.load offset=160 align=8
- (get_local $$312)
- )
- )
- (set_local $$286
- (i32.const 768)
- )
- (set_local $$286
- (i32.add
- (get_local $$312)
- (get_local $$286)
- )
- )
- (set_local $$112
- (i64.load align=8
- (i32.add
- (get_local $$286)
- (i32.const 8)
- )
- )
- )
- (set_local $$287
- (i32.const 784)
- )
- (set_local $$287
- (i32.add
- (get_local $$312)
- (get_local $$287)
- )
- )
- (set_local $$113
- (i64.load align=8
- (i32.add
- (get_local $$287)
- (i32.const 8)
- )
- )
- )
- (set_local $$288
- (i32.const 800)
- )
- (set_local $$288
- (i32.add
- (get_local $$312)
- (get_local $$288)
- )
- )
- (set_local $$114
- (i64.load align=8
- (i32.add
- (get_local $$288)
- (i32.const 8)
- )
- )
- )
- (set_local $$289
- (i32.const 992)
- )
- (set_local $$289
- (i32.add
- (get_local $$312)
- (get_local $$289)
- )
+ )
+ )
+ (set_local $$196
+ (i32.const 1008)
+ )
+ (set_local $$196
+ (i32.add
+ (get_local $$312)
+ (get_local $$196)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$196)
+ (get_local $$15)
+ (get_local $$16)
+ (get_local $$17)
+ )
+ (set_local $$197
+ (i32.const 960)
+ )
+ (set_local $$197
+ (i32.add
+ (get_local $$312)
+ (get_local $$197)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$197)
+ (get_local $$13)
+ (get_local $$14)
+ (set_local $$174
+ (i64.sub
+ (i64.const 128)
+ (get_local $$17)
)
- (set_local $$115
- (i64.load align=8
- (i32.add
- (get_local $$289)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$198
+ (i32.const 976)
+ )
+ (set_local $$198
+ (i32.add
+ (get_local $$312)
+ (get_local $$198)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$198)
+ (get_local $$13)
+ (get_local $$14)
+ (set_local $$173
+ (i64.add
+ (get_local $$17)
+ (i64.const -128)
)
- (set_local $$290
- (i32.const 832)
+ )
+ )
+ (set_local $$199
+ (i32.const 816)
+ )
+ (set_local $$199
+ (i32.add
+ (get_local $$312)
+ (get_local $$199)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$199)
+ (get_local $$11)
+ (get_local $$12)
+ (set_local $$172
+ (i64.sub
+ (i64.const 256)
+ (get_local $$17)
)
- (set_local $$290
- (i32.add
- (get_local $$312)
- (get_local $$290)
- )
+ )
+ )
+ (set_local $$200
+ (i32.const 240)
+ )
+ (set_local $$200
+ (i32.add
+ (get_local $$312)
+ (get_local $$200)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$200)
+ (get_local $$7)
+ (get_local $$8)
+ (set_local $$171
+ (i64.sub
+ (i64.const 512)
+ (get_local $$17)
)
- (set_local $$116
- (i64.load align=8
- (i32.add
- (get_local $$290)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$201
+ (i32.const 912)
+ )
+ (set_local $$201
+ (i32.add
+ (get_local $$312)
+ (get_local $$201)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$201)
+ (get_local $$11)
+ (get_local $$12)
+ (get_local $$17)
+ )
+ (set_local $$202
+ (i32.const 928)
+ )
+ (set_local $$202
+ (i32.add
+ (get_local $$312)
+ (get_local $$202)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$202)
+ (get_local $$9)
+ (get_local $$10)
+ (get_local $$174)
+ )
+ (set_local $$203
+ (i32.const 944)
+ )
+ (set_local $$203
+ (i32.add
+ (get_local $$312)
+ (get_local $$203)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$203)
+ (get_local $$9)
+ (get_local $$10)
+ (get_local $$173)
+ )
+ (set_local $$204
+ (i32.const 80)
+ )
+ (set_local $$204
+ (i32.add
+ (get_local $$312)
+ (get_local $$204)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$204)
+ (get_local $$7)
+ (get_local $$8)
+ (set_local $$170
+ (i64.sub
+ (i64.const 256)
+ (get_local $$171)
)
- (set_local $$291
- (i32.const 384)
+ )
+ )
+ (set_local $$205
+ (i32.const 96)
+ )
+ (set_local $$205
+ (i32.add
+ (get_local $$312)
+ (get_local $$205)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$205)
+ (get_local $$5)
+ (get_local $$6)
+ (i64.sub
+ (i64.const 128)
+ (get_local $$170)
+ )
+ )
+ (set_local $$206
+ (i32.const 112)
+ )
+ (set_local $$206
+ (i32.add
+ (get_local $$312)
+ (get_local $$206)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$206)
+ (get_local $$5)
+ (get_local $$6)
+ (set_local $$169
+ (i64.sub
+ (i64.const 128)
+ (get_local $$171)
)
- (set_local $$291
- (i32.add
- (get_local $$312)
- (get_local $$291)
- )
+ )
+ )
+ (set_local $$207
+ (i32.const 48)
+ )
+ (set_local $$207
+ (i32.add
+ (get_local $$312)
+ (get_local $$207)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$207)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$171)
+ )
+ (set_local $$208
+ (i32.const 176)
+ )
+ (set_local $$208
+ (i32.add
+ (get_local $$312)
+ (get_local $$208)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$208)
+ (get_local $$7)
+ (get_local $$8)
+ (get_local $$172)
+ )
+ (set_local $$209
+ (i32.const 288)
+ )
+ (set_local $$209
+ (i32.add
+ (get_local $$312)
+ (get_local $$209)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$209)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$181)
+ )
+ (set_local $$210
+ (i32.const 272)
+ )
+ (set_local $$210
+ (i32.add
+ (get_local $$312)
+ (get_local $$210)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$210)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$180)
+ )
+ (set_local $$211
+ (i32.const 304)
+ )
+ (set_local $$211
+ (i32.add
+ (get_local $$312)
+ (get_local $$211)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$211)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$179)
+ )
+ (set_local $$212
+ (i32.const 128)
+ )
+ (set_local $$212
+ (i32.add
+ (get_local $$312)
+ (get_local $$212)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$212)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$172)
+ )
+ (set_local $$213
+ (i32.const 144)
+ )
+ (set_local $$213
+ (i32.add
+ (get_local $$312)
+ (get_local $$213)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$213)
+ (get_local $$7)
+ (get_local $$8)
+ (i64.sub
+ (i64.const 384)
+ (get_local $$171)
+ )
+ )
+ (set_local $$214
+ (i32.const 160)
+ )
+ (set_local $$214
+ (i32.add
+ (get_local $$312)
+ (get_local $$214)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$214)
+ (get_local $$7)
+ (get_local $$8)
+ (get_local $$174)
+ )
+ (call_import $__lshrti3
+ (get_local $$312)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$171)
+ )
+ (set_local $$215
+ (i32.const 16)
+ )
+ (set_local $$215
+ (i32.add
+ (get_local $$312)
+ (get_local $$215)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$215)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$169)
+ )
+ (set_local $$216
+ (i32.const 32)
+ )
+ (set_local $$216
+ (i32.add
+ (get_local $$312)
+ (get_local $$216)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$216)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$177)
+ )
+ (set_local $$217
+ (i32.const 64)
+ )
+ (set_local $$217
+ (i32.add
+ (get_local $$312)
+ (get_local $$217)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$217)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$170)
+ )
+ (set_local $$218
+ (i32.const 896)
+ )
+ (set_local $$218
+ (i32.add
+ (get_local $$312)
+ (get_local $$218)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$218)
+ (get_local $$9)
+ (get_local $$10)
+ (get_local $$17)
+ )
+ (set_local $$219
+ (i32.const 256)
+ )
+ (set_local $$219
+ (i32.add
+ (get_local $$312)
+ (get_local $$219)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$219)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$180)
+ )
+ (set_local $$220
+ (i32.const 192)
+ )
+ (set_local $$220
+ (i32.add
+ (get_local $$312)
+ (get_local $$220)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$220)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$171)
+ )
+ (set_local $$221
+ (i32.const 208)
+ )
+ (set_local $$221
+ (i32.add
+ (get_local $$312)
+ (get_local $$221)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$221)
+ (get_local $$7)
+ (get_local $$8)
+ (get_local $$169)
+ )
+ (set_local $$222
+ (i32.const 224)
+ )
+ (set_local $$222
+ (i32.add
+ (get_local $$312)
+ (get_local $$222)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$222)
+ (get_local $$7)
+ (get_local $$8)
+ (get_local $$177)
+ )
+ (set_local $$223
+ (i32.const 768)
+ )
+ (set_local $$223
+ (i32.add
+ (get_local $$312)
+ (get_local $$223)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$223)
+ (get_local $$9)
+ (get_local $$10)
+ (get_local $$172)
+ )
+ (set_local $$224
+ (i32.const 784)
+ )
+ (set_local $$224
+ (i32.add
+ (get_local $$312)
+ (get_local $$224)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$224)
+ (get_local $$11)
+ (get_local $$12)
+ (set_local $$169
+ (i64.sub
+ (i64.const 128)
+ (get_local $$172)
)
- (set_local $$117
- (i64.load align=8
- (i32.add
- (get_local $$291)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$225
+ (i32.const 800)
+ )
+ (set_local $$225
+ (i32.add
+ (get_local $$312)
+ (get_local $$225)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$225)
+ (get_local $$11)
+ (get_local $$12)
+ (get_local $$174)
+ )
+ (set_local $$226
+ (i32.const 992)
+ )
+ (set_local $$226
+ (i32.add
+ (get_local $$312)
+ (get_local $$226)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$226)
+ (get_local $$13)
+ (get_local $$14)
+ (get_local $$17)
+ )
+ (set_local $$227
+ (i32.const 832)
+ )
+ (set_local $$227
+ (i32.add
+ (get_local $$312)
+ (get_local $$227)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$227)
+ (get_local $$9)
+ (get_local $$10)
+ (get_local $$176)
+ )
+ (set_local $$228
+ (i32.const 384)
+ )
+ (set_local $$228
+ (i32.add
+ (get_local $$312)
+ (get_local $$228)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$228)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$178)
+ )
+ (set_local $$229
+ (i32.const 400)
+ )
+ (set_local $$229
+ (i32.add
+ (get_local $$312)
+ (get_local $$229)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$229)
+ (get_local $$3)
+ (get_local $$4)
+ (i64.sub
+ (i64.const 128)
+ (get_local $$178)
+ )
+ )
+ (set_local $$230
+ (i32.const 416)
+ )
+ (set_local $$230
+ (i32.add
+ (get_local $$312)
+ (get_local $$230)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$230)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$181)
+ )
+ (set_local $$231
+ (i32.const 320)
+ )
+ (set_local $$231
+ (i32.add
+ (get_local $$312)
+ (get_local $$231)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$231)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$180)
+ )
+ (set_local $$232
+ (i32.const 448)
+ )
+ (set_local $$232
+ (i32.add
+ (get_local $$312)
+ (get_local $$232)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$232)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$182)
+ )
+ (set_local $$233
+ (i32.const 736)
+ )
+ (set_local $$233
+ (i32.add
+ (get_local $$312)
+ (get_local $$233)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$233)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$177)
+ )
+ (set_local $$234
+ (i32.const 720)
+ )
+ (set_local $$234
+ (i32.add
+ (get_local $$312)
+ (get_local $$234)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$234)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$176)
+ )
+ (set_local $$235
+ (i32.const 752)
+ )
+ (set_local $$235
+ (i32.add
+ (get_local $$312)
+ (get_local $$235)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$235)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$175)
+ )
+ (set_local $$236
+ (i32.const 592)
+ )
+ (set_local $$236
+ (i32.add
+ (get_local $$312)
+ (get_local $$236)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$236)
+ (get_local $$7)
+ (get_local $$8)
+ (get_local $$17)
+ )
+ (set_local $$237
+ (i32.const 608)
+ )
+ (set_local $$237
+ (i32.add
+ (get_local $$312)
+ (get_local $$237)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$237)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$174)
+ )
+ (set_local $$238
+ (i32.const 624)
+ )
+ (set_local $$238
+ (i32.add
+ (get_local $$312)
+ (get_local $$238)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$238)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$173)
+ )
+ (set_local $$239
+ (i32.const 688)
+ )
+ (set_local $$239
+ (i32.add
+ (get_local $$312)
+ (get_local $$239)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$239)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$172)
+ )
+ (set_local $$240
+ (i32.const 640)
+ )
+ (set_local $$240
+ (i32.add
+ (get_local $$312)
+ (get_local $$240)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$240)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$172)
+ )
+ (set_local $$241
+ (i32.const 656)
+ )
+ (set_local $$241
+ (i32.add
+ (get_local $$312)
+ (get_local $$241)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$241)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$169)
+ )
+ (set_local $$242
+ (i32.const 672)
+ )
+ (set_local $$242
+ (i32.add
+ (get_local $$312)
+ (get_local $$242)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$242)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$174)
+ )
+ (set_local $$243
+ (i32.const 576)
+ )
+ (set_local $$243
+ (i32.add
+ (get_local $$312)
+ (get_local $$243)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$243)
+ (get_local $$5)
+ (get_local $$6)
+ (get_local $$17)
+ )
+ (set_local $$244
+ (i32.const 704)
+ )
+ (set_local $$244
+ (i32.add
+ (get_local $$312)
+ (get_local $$244)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$244)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$176)
+ )
+ (set_local $$245
+ (i32.const 528)
+ )
+ (set_local $$245
+ (i32.add
+ (get_local $$312)
+ (get_local $$245)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$245)
+ (get_local $$3)
+ (get_local $$4)
+ (get_local $$17)
+ )
+ (set_local $$246
+ (i32.const 544)
+ )
+ (set_local $$246
+ (i32.add
+ (get_local $$312)
+ (get_local $$246)
+ )
+ )
+ (call_import $__lshrti3
+ (get_local $$246)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$174)
+ )
+ (set_local $$247
+ (i32.const 560)
+ )
+ (set_local $$247
+ (i32.add
+ (get_local $$312)
+ (get_local $$247)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$247)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$173)
+ )
+ (set_local $$248
+ (i32.const 512)
+ )
+ (set_local $$248
+ (i32.add
+ (get_local $$312)
+ (get_local $$248)
+ )
+ )
+ (call_import $__ashlti3
+ (get_local $$248)
+ (get_local $$1)
+ (get_local $$2)
+ (get_local $$17)
+ )
+ (set_local $$249
+ (i32.const 480)
+ )
+ (set_local $$249
+ (i32.add
+ (get_local $$312)
+ (get_local $$249)
+ )
+ )
+ (set_local $$174
+ (i64.load align=8
+ (i32.add
+ (get_local $$249)
+ (i32.const 8)
)
- (set_local $$292
- (i32.const 400)
+ )
+ )
+ (set_local $$250
+ (i32.const 464)
+ )
+ (set_local $$250
+ (i32.add
+ (get_local $$312)
+ (get_local $$250)
+ )
+ )
+ (set_local $$177
+ (i64.load align=8
+ (i32.add
+ (get_local $$250)
+ (i32.const 8)
)
- (set_local $$292
- (i32.add
- (get_local $$312)
- (get_local $$292)
- )
+ )
+ )
+ (set_local $$173
+ (i64.load offset=480 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$181
+ (i64.load offset=464 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$169
+ (i64.load offset=496 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$251
+ (i32.const 496)
+ )
+ (set_local $$251
+ (i32.add
+ (get_local $$312)
+ (get_local $$251)
+ )
+ )
+ (set_local $$179
+ (i64.load align=8
+ (i32.add
+ (get_local $$251)
+ (i32.const 8)
)
- (set_local $$118
- (i64.load align=8
- (i32.add
- (get_local $$292)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$252
+ (i32.const 352)
+ )
+ (set_local $$252
+ (i32.add
+ (get_local $$312)
+ (get_local $$252)
+ )
+ )
+ (set_local $$175
+ (i64.load align=8
+ (i32.add
+ (get_local $$252)
+ (i32.const 8)
)
- (set_local $$104
- (i64.load offset=384 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$253
+ (i32.const 336)
+ )
+ (set_local $$253
+ (i32.add
+ (get_local $$312)
+ (get_local $$253)
+ )
+ )
+ (set_local $$45
+ (i64.load align=8
+ (i32.add
+ (get_local $$253)
+ (i32.const 8)
)
- (set_local $$105
- (i64.load offset=400 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$254
+ (i32.const 368)
+ )
+ (set_local $$254
+ (i32.add
+ (get_local $$312)
+ (get_local $$254)
+ )
+ )
+ (set_local $$46
+ (i64.load align=8
+ (i32.add
+ (get_local $$254)
+ (i32.const 8)
)
- (set_local $$293
- (i32.const 416)
+ )
+ )
+ (set_local $$255
+ (i32.const 432)
+ )
+ (set_local $$255
+ (i32.add
+ (get_local $$312)
+ (get_local $$255)
+ )
+ )
+ (set_local $$47
+ (i64.load align=8
+ (i32.add
+ (get_local $$255)
+ (i32.const 8)
)
- (set_local $$293
- (i32.add
- (get_local $$312)
- (get_local $$293)
- )
+ )
+ )
+ (set_local $$256
+ (i32.const 864)
+ )
+ (set_local $$256
+ (i32.add
+ (get_local $$312)
+ (get_local $$256)
+ )
+ )
+ (set_local $$48
+ (i64.load align=8
+ (i32.add
+ (get_local $$256)
+ (i32.const 8)
)
- (set_local $$119
- (i64.load align=8
- (i32.add
- (get_local $$293)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$257
+ (i32.const 848)
+ )
+ (set_local $$257
+ (i32.add
+ (get_local $$312)
+ (get_local $$257)
+ )
+ )
+ (set_local $$49
+ (i64.load align=8
+ (i32.add
+ (get_local $$257)
+ (i32.const 8)
)
- (set_local $$106
- (i64.load offset=416 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$258
+ (i32.const 880)
+ )
+ (set_local $$258
+ (i32.add
+ (get_local $$312)
+ (get_local $$258)
+ )
+ )
+ (set_local $$50
+ (i64.load align=8
+ (i32.add
+ (get_local $$258)
+ (i32.const 8)
)
- (set_local $$36
- (i64.load offset=432 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$259
+ (i32.const 1008)
+ )
+ (set_local $$259
+ (i32.add
+ (get_local $$312)
+ (get_local $$259)
+ )
+ )
+ (set_local $$51
+ (i64.load align=8
+ (i32.add
+ (get_local $$259)
+ (i32.const 8)
)
- (set_local $$294
- (i32.const 320)
+ )
+ )
+ (set_local $$260
+ (i32.const 960)
+ )
+ (set_local $$260
+ (i32.add
+ (get_local $$312)
+ (get_local $$260)
+ )
+ )
+ (set_local $$52
+ (i64.load align=8
+ (i32.add
+ (get_local $$260)
+ (i32.const 8)
)
- (set_local $$294
- (i32.add
- (get_local $$312)
- (get_local $$294)
- )
+ )
+ )
+ (set_local $$261
+ (i32.const 976)
+ )
+ (set_local $$261
+ (i32.add
+ (get_local $$312)
+ (get_local $$261)
+ )
+ )
+ (set_local $$53
+ (i64.load align=8
+ (i32.add
+ (get_local $$261)
+ (i32.const 8)
)
- (set_local $$120
- (i64.load align=8
- (i32.add
- (get_local $$294)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$262
+ (i32.const 816)
+ )
+ (set_local $$262
+ (i32.add
+ (get_local $$312)
+ (get_local $$262)
+ )
+ )
+ (set_local $$54
+ (i64.load align=8
+ (i32.add
+ (get_local $$262)
+ (i32.const 8)
)
- (set_local $$33
- (i64.load offset=352 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$263
+ (i32.const 240)
+ )
+ (set_local $$263
+ (i32.add
+ (get_local $$312)
+ (get_local $$263)
+ )
+ )
+ (set_local $$55
+ (i64.load align=8
+ (i32.add
+ (get_local $$263)
+ (i32.const 8)
)
- (set_local $$34
- (i64.load offset=336 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$264
+ (i32.const 912)
+ )
+ (set_local $$264
+ (i32.add
+ (get_local $$312)
+ (get_local $$264)
+ )
+ )
+ (set_local $$67
+ (i64.load align=8
+ (i32.add
+ (get_local $$264)
+ (i32.const 8)
)
- (set_local $$35
- (i64.load offset=368 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$265
+ (i32.const 928)
+ )
+ (set_local $$265
+ (i32.add
+ (get_local $$312)
+ (get_local $$265)
+ )
+ )
+ (set_local $$68
+ (i64.load align=8
+ (i32.add
+ (get_local $$265)
+ (i32.const 8)
)
- (set_local $$295
- (i32.const 448)
+ )
+ )
+ (set_local $$266
+ (i32.const 944)
+ )
+ (set_local $$266
+ (i32.add
+ (get_local $$312)
+ (get_local $$266)
+ )
+ )
+ (set_local $$69
+ (i64.load align=8
+ (i32.add
+ (get_local $$266)
+ (i32.const 8)
)
- (set_local $$295
- (i32.add
- (get_local $$312)
- (get_local $$295)
- )
+ )
+ )
+ (set_local $$267
+ (i32.const 80)
+ )
+ (set_local $$267
+ (i32.add
+ (get_local $$312)
+ (get_local $$267)
+ )
+ )
+ (set_local $$70
+ (i64.load align=8
+ (i32.add
+ (get_local $$267)
+ (i32.const 8)
)
- (set_local $$121
- (i64.load align=8
- (i32.add
- (get_local $$295)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$268
+ (i32.const 96)
+ )
+ (set_local $$268
+ (i32.add
+ (get_local $$312)
+ (get_local $$268)
+ )
+ )
+ (set_local $$71
+ (i64.load align=8
+ (i32.add
+ (get_local $$268)
+ (i32.const 8)
)
- (set_local $$64
- (i64.load offset=288 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$59
+ (i64.load offset=80 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$60
+ (i64.load offset=96 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$61
+ (i64.load offset=112 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$269
+ (i32.const 112)
+ )
+ (set_local $$269
+ (i32.add
+ (get_local $$312)
+ (get_local $$269)
+ )
+ )
+ (set_local $$72
+ (i64.load align=8
+ (i32.add
+ (get_local $$269)
+ (i32.const 8)
)
- (set_local $$65
- (i64.load offset=272 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$270
+ (i32.const 48)
+ )
+ (set_local $$270
+ (i32.add
+ (get_local $$312)
+ (get_local $$270)
+ )
+ )
+ (set_local $$73
+ (i64.load align=8
+ (i32.add
+ (get_local $$270)
+ (i32.const 8)
)
- (set_local $$66
- (i64.load offset=304 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$271
+ (i32.const 176)
+ )
+ (set_local $$271
+ (i32.add
+ (get_local $$312)
+ (get_local $$271)
+ )
+ )
+ (set_local $$74
+ (i64.load align=8
+ (i32.add
+ (get_local $$271)
+ (i32.const 8)
)
- (set_local $$86
- (i64.load offset=256 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$272
+ (i32.const 288)
+ )
+ (set_local $$272
+ (i32.add
+ (get_local $$312)
+ (get_local $$272)
+ )
+ )
+ (set_local $$75
+ (i64.load align=8
+ (i32.add
+ (get_local $$272)
+ (i32.const 8)
)
- (set_local $$107
- (i64.load offset=320 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$273
+ (i32.const 272)
+ )
+ (set_local $$273
+ (i32.add
+ (get_local $$312)
+ (get_local $$273)
+ )
+ )
+ (set_local $$76
+ (i64.load align=8
+ (i32.add
+ (get_local $$273)
+ (i32.const 8)
)
- (set_local $$108
- (i64.load offset=448 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$274
+ (i32.const 304)
+ )
+ (set_local $$274
+ (i32.add
+ (get_local $$312)
+ (get_local $$274)
+ )
+ )
+ (set_local $$77
+ (i64.load align=8
+ (i32.add
+ (get_local $$274)
+ (i32.const 8)
)
- (set_local $$296
- (i32.const 736)
+ )
+ )
+ (set_local $$275
+ (i32.const 128)
+ )
+ (set_local $$275
+ (i32.add
+ (get_local $$312)
+ (get_local $$275)
+ )
+ )
+ (set_local $$87
+ (i64.load align=8
+ (i32.add
+ (get_local $$275)
+ (i32.const 8)
)
- (set_local $$296
- (i32.add
- (get_local $$312)
- (get_local $$296)
- )
+ )
+ )
+ (set_local $$276
+ (i32.const 144)
+ )
+ (set_local $$276
+ (i32.add
+ (get_local $$312)
+ (get_local $$276)
+ )
+ )
+ (set_local $$88
+ (i64.load align=8
+ (i32.add
+ (get_local $$276)
+ (i32.const 8)
)
- (set_local $$129
- (i64.load align=8
- (i32.add
- (get_local $$296)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$277
+ (i32.const 160)
+ )
+ (set_local $$277
+ (i32.add
+ (get_local $$312)
+ (get_local $$277)
+ )
+ )
+ (set_local $$89
+ (i64.load align=8
+ (i32.add
+ (get_local $$277)
+ (i32.const 8)
)
- (set_local $$297
- (i32.const 720)
+ )
+ )
+ (set_local $$90
+ (i64.load align=8
+ (i32.add
+ (get_local $$312)
+ (i32.const 8)
)
- (set_local $$297
- (i32.add
- (get_local $$312)
- (get_local $$297)
- )
+ )
+ )
+ (set_local $$278
+ (i32.const 16)
+ )
+ (set_local $$278
+ (i32.add
+ (get_local $$312)
+ (get_local $$278)
+ )
+ )
+ (set_local $$91
+ (i64.load align=8
+ (i32.add
+ (get_local $$278)
+ (i32.const 8)
)
- (set_local $$130
- (i64.load align=8
- (i32.add
- (get_local $$297)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$84
+ (i64.load offset=64 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$279
+ (i32.const 64)
+ )
+ (set_local $$279
+ (i32.add
+ (get_local $$312)
+ (get_local $$279)
+ )
+ )
+ (set_local $$93
+ (i64.load align=8
+ (i32.add
+ (get_local $$279)
+ (i32.const 8)
)
- (set_local $$37
- (i64.load offset=864 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$280
+ (i32.const 32)
+ )
+ (set_local $$280
+ (i32.add
+ (get_local $$312)
+ (get_local $$280)
+ )
+ )
+ (set_local $$92
+ (i64.load align=8
+ (i32.add
+ (get_local $$280)
+ (i32.const 8)
)
- (set_local $$38
- (i64.load offset=848 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$281
+ (i32.const 896)
+ )
+ (set_local $$281
+ (i32.add
+ (get_local $$312)
+ (get_local $$281)
+ )
+ )
+ (set_local $$94
+ (i64.load align=8
+ (i32.add
+ (get_local $$281)
+ (i32.const 8)
)
- (set_local $$39
- (i64.load offset=880 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$282
+ (i32.const 256)
+ )
+ (set_local $$282
+ (i32.add
+ (get_local $$312)
+ (get_local $$282)
+ )
+ )
+ (set_local $$95
+ (i64.load align=8
+ (i32.add
+ (get_local $$282)
+ (i32.const 8)
)
- (set_local $$298
- (i32.const 752)
+ )
+ )
+ (set_local $$283
+ (i32.const 192)
+ )
+ (set_local $$283
+ (i32.add
+ (get_local $$312)
+ (get_local $$283)
+ )
+ )
+ (set_local $$109
+ (i64.load align=8
+ (i32.add
+ (get_local $$283)
+ (i32.const 8)
)
- (set_local $$298
- (i32.add
- (get_local $$312)
- (get_local $$298)
- )
+ )
+ )
+ (set_local $$284
+ (i32.const 208)
+ )
+ (set_local $$284
+ (i32.add
+ (get_local $$312)
+ (get_local $$284)
+ )
+ )
+ (set_local $$110
+ (i64.load align=8
+ (i32.add
+ (get_local $$284)
+ (i32.const 8)
)
- (set_local $$131
- (i64.load align=8
- (i32.add
- (get_local $$298)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$81
+ (i64.load align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$82
+ (i64.load offset=16 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$83
+ (i64.load offset=32 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$285
+ (i32.const 224)
+ )
+ (set_local $$285
+ (i32.add
+ (get_local $$312)
+ (get_local $$285)
+ )
+ )
+ (set_local $$111
+ (i64.load align=8
+ (i32.add
+ (get_local $$285)
+ (i32.const 8)
)
- (set_local $$122
- (i64.load offset=736 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$96
+ (i64.load offset=192 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$97
+ (i64.load offset=208 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$98
+ (i64.load offset=224 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$44
+ (i64.load offset=240 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$62
+ (i64.load offset=48 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$63
+ (i64.load offset=176 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$78
+ (i64.load offset=128 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$79
+ (i64.load offset=144 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$80
+ (i64.load offset=160 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$286
+ (i32.const 768)
+ )
+ (set_local $$286
+ (i32.add
+ (get_local $$312)
+ (get_local $$286)
+ )
+ )
+ (set_local $$112
+ (i64.load align=8
+ (i32.add
+ (get_local $$286)
+ (i32.const 8)
)
- (set_local $$123
- (i64.load offset=720 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$287
+ (i32.const 784)
+ )
+ (set_local $$287
+ (i32.add
+ (get_local $$312)
+ (get_local $$287)
+ )
+ )
+ (set_local $$113
+ (i64.load align=8
+ (i32.add
+ (get_local $$287)
+ (i32.const 8)
)
- (set_local $$124
- (i64.load offset=752 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$288
+ (i32.const 800)
+ )
+ (set_local $$288
+ (i32.add
+ (get_local $$312)
+ (get_local $$288)
+ )
+ )
+ (set_local $$114
+ (i64.load align=8
+ (i32.add
+ (get_local $$288)
+ (i32.const 8)
)
- (set_local $$299
- (i32.const 592)
+ )
+ )
+ (set_local $$289
+ (i32.const 992)
+ )
+ (set_local $$289
+ (i32.add
+ (get_local $$312)
+ (get_local $$289)
+ )
+ )
+ (set_local $$115
+ (i64.load align=8
+ (i32.add
+ (get_local $$289)
+ (i32.const 8)
)
- (set_local $$299
- (i32.add
- (get_local $$312)
- (get_local $$299)
- )
+ )
+ )
+ (set_local $$290
+ (i32.const 832)
+ )
+ (set_local $$290
+ (i32.add
+ (get_local $$312)
+ (get_local $$290)
+ )
+ )
+ (set_local $$116
+ (i64.load align=8
+ (i32.add
+ (get_local $$290)
+ (i32.const 8)
)
- (set_local $$132
- (i64.load align=8
- (i32.add
- (get_local $$299)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$291
+ (i32.const 384)
+ )
+ (set_local $$291
+ (i32.add
+ (get_local $$312)
+ (get_local $$291)
+ )
+ )
+ (set_local $$117
+ (i64.load align=8
+ (i32.add
+ (get_local $$291)
+ (i32.const 8)
)
- (set_local $$300
- (i32.const 608)
+ )
+ )
+ (set_local $$292
+ (i32.const 400)
+ )
+ (set_local $$292
+ (i32.add
+ (get_local $$312)
+ (get_local $$292)
+ )
+ )
+ (set_local $$118
+ (i64.load align=8
+ (i32.add
+ (get_local $$292)
+ (i32.const 8)
)
- (set_local $$300
- (i32.add
- (get_local $$312)
- (get_local $$300)
- )
+ )
+ )
+ (set_local $$104
+ (i64.load offset=384 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$105
+ (i64.load offset=400 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$293
+ (i32.const 416)
+ )
+ (set_local $$293
+ (i32.add
+ (get_local $$312)
+ (get_local $$293)
+ )
+ )
+ (set_local $$119
+ (i64.load align=8
+ (i32.add
+ (get_local $$293)
+ (i32.const 8)
)
- (set_local $$133
- (i64.load align=8
- (i32.add
- (get_local $$300)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$106
+ (i64.load offset=416 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$36
+ (i64.load offset=432 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$294
+ (i32.const 320)
+ )
+ (set_local $$294
+ (i32.add
+ (get_local $$312)
+ (get_local $$294)
+ )
+ )
+ (set_local $$120
+ (i64.load align=8
+ (i32.add
+ (get_local $$294)
+ (i32.const 8)
)
- (set_local $$301
- (i32.const 624)
+ )
+ )
+ (set_local $$33
+ (i64.load offset=352 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$34
+ (i64.load offset=336 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$35
+ (i64.load offset=368 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$295
+ (i32.const 448)
+ )
+ (set_local $$295
+ (i32.add
+ (get_local $$312)
+ (get_local $$295)
+ )
+ )
+ (set_local $$121
+ (i64.load align=8
+ (i32.add
+ (get_local $$295)
+ (i32.const 8)
)
- (set_local $$301
- (i32.add
- (get_local $$312)
- (get_local $$301)
- )
+ )
+ )
+ (set_local $$64
+ (i64.load offset=288 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$65
+ (i64.load offset=272 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$66
+ (i64.load offset=304 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$86
+ (i64.load offset=256 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$107
+ (i64.load offset=320 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$108
+ (i64.load offset=448 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$296
+ (i32.const 736)
+ )
+ (set_local $$296
+ (i32.add
+ (get_local $$312)
+ (get_local $$296)
+ )
+ )
+ (set_local $$129
+ (i64.load align=8
+ (i32.add
+ (get_local $$296)
+ (i32.const 8)
)
- (set_local $$134
- (i64.load align=8
- (i32.add
- (get_local $$301)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$297
+ (i32.const 720)
+ )
+ (set_local $$297
+ (i32.add
+ (get_local $$312)
+ (get_local $$297)
+ )
+ )
+ (set_local $$130
+ (i64.load align=8
+ (i32.add
+ (get_local $$297)
+ (i32.const 8)
)
- (set_local $$302
- (i32.const 688)
+ )
+ )
+ (set_local $$37
+ (i64.load offset=864 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$38
+ (i64.load offset=848 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$39
+ (i64.load offset=880 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$298
+ (i32.const 752)
+ )
+ (set_local $$298
+ (i32.add
+ (get_local $$312)
+ (get_local $$298)
+ )
+ )
+ (set_local $$131
+ (i64.load align=8
+ (i32.add
+ (get_local $$298)
+ (i32.const 8)
)
- (set_local $$302
- (i32.add
- (get_local $$312)
- (get_local $$302)
- )
+ )
+ )
+ (set_local $$122
+ (i64.load offset=736 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$123
+ (i64.load offset=720 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$124
+ (i64.load offset=752 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$299
+ (i32.const 592)
+ )
+ (set_local $$299
+ (i32.add
+ (get_local $$312)
+ (get_local $$299)
+ )
+ )
+ (set_local $$132
+ (i64.load align=8
+ (i32.add
+ (get_local $$299)
+ (i32.const 8)
)
- (set_local $$135
- (i64.load align=8
- (i32.add
- (get_local $$302)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$300
+ (i32.const 608)
+ )
+ (set_local $$300
+ (i32.add
+ (get_local $$312)
+ (get_local $$300)
+ )
+ )
+ (set_local $$133
+ (i64.load align=8
+ (i32.add
+ (get_local $$300)
+ (i32.const 8)
)
- (set_local $$303
- (i32.const 640)
+ )
+ )
+ (set_local $$301
+ (i32.const 624)
+ )
+ (set_local $$301
+ (i32.add
+ (get_local $$312)
+ (get_local $$301)
+ )
+ )
+ (set_local $$134
+ (i64.load align=8
+ (i32.add
+ (get_local $$301)
+ (i32.const 8)
)
- (set_local $$303
- (i32.add
- (get_local $$312)
- (get_local $$303)
- )
+ )
+ )
+ (set_local $$302
+ (i32.const 688)
+ )
+ (set_local $$302
+ (i32.add
+ (get_local $$312)
+ (get_local $$302)
+ )
+ )
+ (set_local $$135
+ (i64.load align=8
+ (i32.add
+ (get_local $$302)
+ (i32.const 8)
)
- (set_local $$141
- (i64.load align=8
- (i32.add
- (get_local $$303)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$303
+ (i32.const 640)
+ )
+ (set_local $$303
+ (i32.add
+ (get_local $$312)
+ (get_local $$303)
+ )
+ )
+ (set_local $$141
+ (i64.load align=8
+ (i32.add
+ (get_local $$303)
+ (i32.const 8)
)
- (set_local $$304
- (i32.const 656)
+ )
+ )
+ (set_local $$304
+ (i32.const 656)
+ )
+ (set_local $$304
+ (i32.add
+ (get_local $$312)
+ (get_local $$304)
+ )
+ )
+ (set_local $$142
+ (i64.load align=8
+ (i32.add
+ (get_local $$304)
+ (i32.const 8)
)
- (set_local $$304
- (i32.add
- (get_local $$312)
- (get_local $$304)
- )
+ )
+ )
+ (set_local $$99
+ (i64.load offset=768 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$100
+ (i64.load offset=784 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$101
+ (i64.load offset=800 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$305
+ (i32.const 672)
+ )
+ (set_local $$305
+ (i32.add
+ (get_local $$312)
+ (get_local $$305)
+ )
+ )
+ (set_local $$143
+ (i64.load align=8
+ (i32.add
+ (get_local $$305)
+ (i32.const 8)
)
- (set_local $$142
- (i64.load align=8
- (i32.add
- (get_local $$304)
- (i32.const 8)
- )
- )
+ )
+ )
+ (set_local $$136
+ (i64.load offset=640 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$137
+ (i64.load offset=656 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$138
+ (i64.load offset=672 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$43
+ (i64.load offset=816 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$128
+ (i64.load offset=688 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$306
+ (i32.const 576)
+ )
+ (set_local $$306
+ (i32.add
+ (get_local $$312)
+ (get_local $$306)
+ )
+ )
+ (set_local $$144
+ (i64.load align=8
+ (i32.add
+ (get_local $$306)
+ (i32.const 8)
)
- (set_local $$99
- (i64.load offset=768 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$103
+ (i64.load offset=832 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$140
+ (i64.load offset=704 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$307
+ (i32.const 704)
+ )
+ (set_local $$307
+ (i32.add
+ (get_local $$312)
+ (get_local $$307)
+ )
+ )
+ (set_local $$145
+ (i64.load align=8
+ (i32.add
+ (get_local $$307)
+ (i32.const 8)
)
- (set_local $$100
- (i64.load offset=784 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$308
+ (i32.const 528)
+ )
+ (set_local $$308
+ (i32.add
+ (get_local $$312)
+ (get_local $$308)
+ )
+ )
+ (set_local $$149
+ (i64.load align=8
+ (i32.add
+ (get_local $$308)
+ (i32.const 8)
)
- (set_local $$101
- (i64.load offset=800 align=8
- (get_local $$312)
- )
+ )
+ )
+ (set_local $$309
+ (i32.const 544)
+ )
+ (set_local $$309
+ (i32.add
+ (get_local $$312)
+ (get_local $$309)
+ )
+ )
+ (set_local $$150
+ (i64.load align=8
+ (i32.add
+ (get_local $$309)
+ (i32.const 8)
)
- (set_local $$305
- (i32.const 672)
+ )
+ )
+ (set_local $$310
+ (i32.const 560)
+ )
+ (set_local $$310
+ (i32.add
+ (get_local $$312)
+ (get_local $$310)
+ )
+ )
+ (set_local $$151
+ (i64.load align=8
+ (i32.add
+ (get_local $$310)
+ (i32.const 8)
)
- (set_local $$305
- (i32.add
- (get_local $$312)
- (get_local $$305)
+ )
+ )
+ (set_local $$40
+ (i64.load offset=1008 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$41
+ (i64.load offset=960 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$42
+ (i64.load offset=976 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$56
+ (i64.load offset=912 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$57
+ (i64.load offset=928 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$58
+ (i64.load offset=944 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$85
+ (i64.load offset=896 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$102
+ (i64.load offset=992 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$125
+ (i64.load offset=592 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$126
+ (i64.load offset=608 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$127
+ (i64.load offset=624 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$139
+ (i64.load offset=576 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$146
+ (i64.load offset=528 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$147
+ (i64.load offset=544 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$148
+ (i64.load offset=560 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$152
+ (i64.load offset=512 align=8
+ (get_local $$312)
+ )
+ )
+ (set_local $$311
+ (i32.const 512)
+ )
+ (set_local $$311
+ (i32.add
+ (get_local $$312)
+ (get_local $$311)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 8)
+ )
+ (i64.select
+ (set_local $$168
+ (i64.lt_u
+ (get_local $$17)
+ (i64.const 512)
)
)
- (set_local $$143
- (i64.load align=8
- (i32.add
- (get_local $$305)
- (i32.const 8)
+ (i64.select
+ (set_local $$167
+ (i64.lt_u
+ (get_local $$17)
+ (i64.const 256)
)
)
- )
- (set_local $$136
- (i64.load offset=640 align=8
- (get_local $$312)
- )
- )
- (set_local $$137
- (i64.load offset=656 align=8
- (get_local $$312)
- )
- )
- (set_local $$138
- (i64.load offset=672 align=8
- (get_local $$312)
- )
- )
- (set_local $$43
- (i64.load offset=816 align=8
- (get_local $$312)
- )
- )
- (set_local $$128
- (i64.load offset=688 align=8
- (get_local $$312)
- )
- )
- (set_local $$306
- (i32.const 576)
- )
- (set_local $$306
- (i32.add
- (get_local $$312)
- (get_local $$306)
- )
- )
- (set_local $$144
- (i64.load align=8
- (i32.add
- (get_local $$306)
- (i32.const 8)
+ (i64.select
+ (set_local $$166
+ (i64.lt_u
+ (get_local $$17)
+ (i64.const 128)
+ )
)
- )
- )
- (set_local $$103
- (i64.load offset=832 align=8
- (get_local $$312)
- )
- )
- (set_local $$140
- (i64.load offset=704 align=8
- (get_local $$312)
- )
- )
- (set_local $$307
- (i32.const 704)
- )
- (set_local $$307
- (i32.add
- (get_local $$312)
- (get_local $$307)
- )
- )
- (set_local $$145
- (i64.load align=8
- (i32.add
- (get_local $$307)
- (i32.const 8)
+ (i64.load align=8
+ (i32.add
+ (get_local $$311)
+ (i32.const 8)
+ )
)
+ (i64.const 0)
)
+ (i64.const 0)
)
- (set_local $$308
- (i32.const 528)
- )
- (set_local $$308
- (i32.add
- (get_local $$312)
- (get_local $$308)
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (get_local $$0)
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$167)
+ (i64.select
+ (get_local $$166)
+ (get_local $$152)
+ (i64.const 0)
)
+ (i64.const 0)
)
- (set_local $$149
- (i64.load align=8
- (i32.add
- (get_local $$308)
- (i32.const 8)
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$167)
+ (i64.select
+ (set_local $$165
+ (i64.eq
+ (get_local $$17)
+ (i64.const 0)
+ )
)
- )
- )
- (set_local $$309
- (i32.const 544)
- )
- (set_local $$309
- (i32.add
- (get_local $$312)
- (get_local $$309)
- )
- )
- (set_local $$150
- (i64.load align=8
- (i32.add
- (get_local $$309)
- (i32.const 8)
+ (get_local $$4)
+ (i64.select
+ (get_local $$166)
+ (i64.or
+ (get_local $$149)
+ (get_local $$150)
+ )
+ (get_local $$151)
)
)
+ (i64.const 0)
)
- (set_local $$310
- (i32.const 560)
- )
- (set_local $$310
- (i32.add
- (get_local $$312)
- (get_local $$310)
- )
- )
- (set_local $$151
- (i64.load align=8
- (i32.add
- (get_local $$310)
- (i32.const 8)
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 16)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$167)
+ (i64.select
+ (get_local $$165)
+ (get_local $$3)
+ (i64.select
+ (get_local $$166)
+ (i64.or
+ (get_local $$146)
+ (get_local $$147)
+ )
+ (get_local $$148)
)
)
+ (i64.const 0)
)
- (set_local $$40
- (i64.load offset=1008 align=8
- (get_local $$312)
- )
- )
- (set_local $$41
- (i64.load offset=960 align=8
- (get_local $$312)
- )
- )
- (set_local $$42
- (i64.load offset=976 align=8
- (get_local $$312)
- )
- )
- (set_local $$56
- (i64.load offset=912 align=8
- (get_local $$312)
- )
- )
- (set_local $$57
- (i64.load offset=928 align=8
- (get_local $$312)
- )
- )
- (set_local $$58
- (i64.load offset=944 align=8
- (get_local $$312)
- )
- )
- (set_local $$85
- (i64.load offset=896 align=8
- (get_local $$312)
- )
- )
- (set_local $$102
- (i64.load offset=992 align=8
- (get_local $$312)
- )
- )
- (set_local $$125
- (i64.load offset=592 align=8
- (get_local $$312)
- )
- )
- (set_local $$126
- (i64.load offset=608 align=8
- (get_local $$312)
- )
- )
- (set_local $$127
- (i64.load offset=624 align=8
- (get_local $$312)
- )
- )
- (set_local $$139
- (i64.load offset=576 align=8
- (get_local $$312)
- )
- )
- (set_local $$146
- (i64.load offset=528 align=8
- (get_local $$312)
- )
- )
- (set_local $$147
- (i64.load offset=544 align=8
- (get_local $$312)
- )
- )
- (set_local $$148
- (i64.load offset=560 align=8
- (get_local $$312)
- )
- )
- (set_local $$152
- (i64.load offset=512 align=8
- (get_local $$312)
- )
- )
- (set_local $$311
- (i32.const 512)
- )
- (set_local $$311
- (i32.add
- (get_local $$312)
- (get_local $$311)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 8)
- )
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 56)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$165)
+ (get_local $$8)
(i64.select
- (set_local $$168
- (i64.lt_u
- (get_local $$17)
- (i64.const 512)
+ (get_local $$167)
+ (i64.or
+ (i64.select
+ (get_local $$165)
+ (get_local $$8)
+ (i64.select
+ (get_local $$166)
+ (i64.or
+ (get_local $$132)
+ (get_local $$133)
+ )
+ (get_local $$134)
+ )
+ )
+ (i64.select
+ (set_local $$164
+ (i64.lt_u
+ (get_local $$172)
+ (i64.const 128)
+ )
+ )
+ (get_local $$135)
+ (i64.const 0)
)
)
(i64.select
- (set_local $$167
- (i64.lt_u
- (get_local $$17)
- (i64.const 256)
+ (set_local $$153
+ (i64.eq
+ (get_local $$176)
+ (i64.const 0)
)
)
+ (get_local $$4)
(i64.select
- (set_local $$166
+ (set_local $$163
(i64.lt_u
- (get_local $$17)
+ (get_local $$176)
(i64.const 128)
)
)
- (i64.load align=8
- (i32.add
- (get_local $$311)
- (i32.const 8)
- )
+ (i64.or
+ (get_local $$130)
+ (get_local $$129)
)
- (i64.const 0)
+ (get_local $$131)
)
- (i64.const 0)
)
- (i64.const 0)
)
)
- (i64.store align=8
- (get_local $$0)
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 48)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$165)
+ (get_local $$7)
(i64.select
- (get_local $$168)
- (i64.select
- (get_local $$167)
+ (get_local $$167)
+ (i64.or
(i64.select
- (get_local $$166)
- (get_local $$152)
+ (get_local $$165)
+ (get_local $$7)
+ (i64.select
+ (get_local $$166)
+ (i64.or
+ (get_local $$125)
+ (get_local $$126)
+ )
+ (get_local $$127)
+ )
+ )
+ (i64.select
+ (get_local $$164)
+ (get_local $$128)
(i64.const 0)
)
- (i64.const 0)
)
- (i64.const 0)
+ (i64.select
+ (get_local $$153)
+ (get_local $$3)
+ (i64.select
+ (get_local $$163)
+ (i64.or
+ (get_local $$123)
+ (get_local $$122)
+ )
+ (get_local $$124)
+ )
+ )
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 40)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$165)
+ (get_local $$6)
(i64.select
- (get_local $$168)
- (i64.select
- (get_local $$167)
+ (get_local $$167)
+ (i64.or
+ (i64.select
+ (get_local $$166)
+ (get_local $$144)
+ (i64.const 0)
+ )
(i64.select
- (set_local $$165
+ (set_local $$162
(i64.eq
- (get_local $$17)
+ (get_local $$172)
(i64.const 0)
)
)
- (get_local $$4)
+ (get_local $$2)
(i64.select
- (get_local $$166)
+ (get_local $$164)
(i64.or
- (get_local $$149)
- (get_local $$150)
+ (get_local $$141)
+ (get_local $$142)
)
- (get_local $$151)
+ (get_local $$143)
)
)
+ )
+ (i64.select
+ (get_local $$163)
+ (get_local $$145)
(i64.const 0)
)
- (i64.const 0)
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 16)
- )
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 32)
+ )
+ (i64.select
+ (get_local $$168)
+ (i64.select
+ (get_local $$165)
+ (get_local $$5)
(i64.select
- (get_local $$168)
- (i64.select
- (get_local $$167)
+ (get_local $$167)
+ (i64.or
(i64.select
- (get_local $$165)
- (get_local $$3)
+ (get_local $$166)
+ (get_local $$139)
+ (i64.const 0)
+ )
+ (i64.select
+ (get_local $$162)
+ (get_local $$1)
(i64.select
- (get_local $$166)
+ (get_local $$164)
(i64.or
- (get_local $$146)
- (get_local $$147)
+ (get_local $$136)
+ (get_local $$137)
)
- (get_local $$148)
+ (get_local $$138)
)
)
+ )
+ (i64.select
+ (get_local $$163)
+ (get_local $$140)
(i64.const 0)
)
- (i64.const 0)
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 56)
- )
- (i64.select
- (get_local $$168)
+ (i64.const 0)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 120)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$16)
+ (i64.select
+ (get_local $$168)
+ (i64.or
(i64.select
(get_local $$165)
- (get_local $$8)
+ (get_local $$16)
(i64.select
(get_local $$167)
(i64.or
(i64.select
(get_local $$165)
- (get_local $$8)
+ (get_local $$16)
(i64.select
(get_local $$166)
(i64.or
- (get_local $$132)
- (get_local $$133)
+ (get_local $$51)
+ (get_local $$52)
)
- (get_local $$134)
+ (get_local $$53)
)
)
(i64.select
- (set_local $$164
- (i64.lt_u
- (get_local $$172)
- (i64.const 128)
- )
- )
- (get_local $$135)
+ (get_local $$164)
+ (get_local $$54)
(i64.const 0)
)
)
(i64.select
- (set_local $$153
+ (get_local $$153)
+ (get_local $$12)
+ (i64.select
+ (get_local $$163)
+ (i64.or
+ (get_local $$49)
+ (get_local $$48)
+ )
+ (get_local $$50)
+ )
+ )
+ )
+ )
+ (i64.select
+ (set_local $$161
+ (i64.lt_u
+ (get_local $$171)
+ (i64.const 256)
+ )
+ )
+ (i64.select
+ (set_local $$160
+ (i64.lt_u
+ (get_local $$171)
+ (i64.const 128)
+ )
+ )
+ (get_local $$55)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
+ )
+ (i64.select
+ (get_local $$158)
+ (get_local $$8)
+ (i64.select
+ (set_local $$159
+ (i64.lt_u
+ (get_local $$180)
+ (i64.const 256)
+ )
+ )
+ (i64.or
+ (i64.select
+ (set_local $$158
(i64.eq
- (get_local $$176)
+ (get_local $$180)
(i64.const 0)
)
)
- (get_local $$4)
+ (get_local $$8)
(i64.select
- (set_local $$163
+ (set_local $$157
(i64.lt_u
- (get_local $$176)
+ (get_local $$180)
(i64.const 128)
)
)
(i64.or
- (get_local $$130)
- (get_local $$129)
+ (get_local $$45)
+ (get_local $$175)
)
- (get_local $$131)
+ (get_local $$46)
)
)
+ (i64.select
+ (set_local $$156
+ (i64.lt_u
+ (get_local $$178)
+ (i64.const 128)
+ )
+ )
+ (get_local $$47)
+ (i64.const 0)
+ )
+ )
+ (i64.select
+ (set_local $$155
+ (i64.eq
+ (get_local $$182)
+ (i64.const 0)
+ )
+ )
+ (get_local $$4)
+ (i64.select
+ (set_local $$154
+ (i64.lt_u
+ (get_local $$182)
+ (i64.const 128)
+ )
+ )
+ (i64.or
+ (get_local $$177)
+ (get_local $$174)
+ )
+ (get_local $$179)
+ )
)
)
- (i64.const 0)
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 48)
- )
- (i64.select
- (get_local $$168)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 112)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$15)
+ (i64.select
+ (get_local $$168)
+ (i64.or
(i64.select
(get_local $$165)
- (get_local $$7)
+ (get_local $$15)
(i64.select
(get_local $$167)
(i64.or
(i64.select
(get_local $$165)
- (get_local $$7)
+ (get_local $$15)
(i64.select
(get_local $$166)
(i64.or
- (get_local $$125)
- (get_local $$126)
+ (get_local $$40)
+ (get_local $$41)
)
- (get_local $$127)
+ (get_local $$42)
)
)
(i64.select
(get_local $$164)
- (get_local $$128)
+ (get_local $$43)
(i64.const 0)
)
)
(i64.select
(get_local $$153)
- (get_local $$3)
+ (get_local $$11)
(i64.select
(get_local $$163)
(i64.or
- (get_local $$123)
- (get_local $$122)
+ (get_local $$38)
+ (get_local $$37)
)
- (get_local $$124)
+ (get_local $$39)
)
)
)
)
- (i64.const 0)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 40)
+ (i64.select
+ (get_local $$161)
+ (i64.select
+ (get_local $$160)
+ (get_local $$44)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
)
(i64.select
- (get_local $$168)
+ (get_local $$158)
+ (get_local $$7)
(i64.select
- (get_local $$165)
- (get_local $$6)
- (i64.select
- (get_local $$167)
- (i64.or
- (i64.select
- (get_local $$166)
- (get_local $$144)
- (i64.const 0)
- )
+ (get_local $$159)
+ (i64.or
+ (i64.select
+ (get_local $$158)
+ (get_local $$7)
(i64.select
- (set_local $$162
- (i64.eq
- (get_local $$172)
- (i64.const 0)
- )
- )
- (get_local $$2)
- (i64.select
- (get_local $$164)
- (i64.or
- (get_local $$141)
- (get_local $$142)
- )
- (get_local $$143)
+ (get_local $$157)
+ (i64.or
+ (get_local $$34)
+ (get_local $$33)
)
+ (get_local $$35)
)
)
(i64.select
- (get_local $$163)
- (get_local $$145)
+ (get_local $$156)
+ (get_local $$36)
(i64.const 0)
)
)
+ (i64.select
+ (get_local $$155)
+ (get_local $$3)
+ (i64.select
+ (get_local $$154)
+ (i64.or
+ (get_local $$181)
+ (get_local $$173)
+ )
+ (get_local $$169)
+ )
+ )
)
- (i64.const 0)
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 32)
- )
- (i64.select
- (get_local $$168)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 104)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$14)
+ (i64.select
+ (get_local $$168)
+ (i64.or
(i64.select
(get_local $$165)
- (get_local $$5)
+ (get_local $$14)
(i64.select
(get_local $$167)
(i64.or
(i64.select
(get_local $$166)
- (get_local $$139)
+ (get_local $$115)
(i64.const 0)
)
(i64.select
(get_local $$162)
- (get_local $$1)
+ (get_local $$10)
(i64.select
(get_local $$164)
(i64.or
- (get_local $$136)
- (get_local $$137)
+ (get_local $$112)
+ (get_local $$113)
)
- (get_local $$138)
+ (get_local $$114)
)
)
)
(i64.select
(get_local $$163)
- (get_local $$140)
+ (get_local $$116)
(i64.const 0)
)
)
)
- (i64.const 0)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 120)
- )
- (i64.select
- (get_local $$165)
- (get_local $$16)
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$165)
- (get_local $$16)
- (i64.select
- (get_local $$167)
- (i64.or
- (i64.select
- (get_local $$165)
- (get_local $$16)
- (i64.select
- (get_local $$166)
- (i64.or
- (get_local $$51)
- (get_local $$52)
- )
- (get_local $$53)
- )
- )
- (i64.select
- (get_local $$164)
- (get_local $$54)
- (i64.const 0)
- )
- )
- (i64.select
- (get_local $$153)
- (get_local $$12)
- (i64.select
- (get_local $$163)
- (i64.or
- (get_local $$49)
- (get_local $$48)
- )
- (get_local $$50)
- )
- )
- )
- )
- (i64.select
- (set_local $$161
- (i64.lt_u
- (get_local $$171)
- (i64.const 256)
- )
- )
- (i64.select
- (set_local $$160
- (i64.lt_u
- (get_local $$171)
- (i64.const 128)
- )
- )
- (get_local $$55)
+ (get_local $$161)
+ (i64.select
+ (set_local $$153
+ (i64.eq
+ (get_local $$171)
(i64.const 0)
)
- (i64.const 0)
)
- )
- (i64.select
- (get_local $$158)
- (get_local $$8)
+ (get_local $$6)
(i64.select
- (set_local $$159
- (i64.lt_u
- (get_local $$180)
- (i64.const 256)
- )
- )
+ (get_local $$160)
(i64.or
- (i64.select
- (set_local $$158
- (i64.eq
- (get_local $$180)
- (i64.const 0)
- )
- )
- (get_local $$8)
- (i64.select
- (set_local $$157
- (i64.lt_u
- (get_local $$180)
- (i64.const 128)
- )
- )
- (i64.or
- (get_local $$45)
- (get_local $$175)
- )
- (get_local $$46)
- )
- )
- (i64.select
- (set_local $$156
- (i64.lt_u
- (get_local $$178)
- (i64.const 128)
- )
- )
- (get_local $$47)
- (i64.const 0)
- )
- )
- (i64.select
- (set_local $$155
- (i64.eq
- (get_local $$182)
- (i64.const 0)
- )
- )
- (get_local $$4)
- (i64.select
- (set_local $$154
- (i64.lt_u
- (get_local $$182)
- (i64.const 128)
- )
- )
- (i64.or
- (get_local $$177)
- (get_local $$174)
- )
- (get_local $$179)
- )
+ (get_local $$109)
+ (get_local $$110)
)
+ (get_local $$111)
)
)
+ (i64.const 0)
)
)
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 112)
- )
(i64.select
- (get_local $$165)
- (get_local $$15)
+ (get_local $$158)
+ (get_local $$6)
(i64.select
- (get_local $$168)
+ (get_local $$159)
(i64.or
(i64.select
- (get_local $$165)
- (get_local $$15)
- (i64.select
- (get_local $$167)
- (i64.or
- (i64.select
- (get_local $$165)
- (get_local $$15)
- (i64.select
- (get_local $$166)
- (i64.or
- (get_local $$40)
- (get_local $$41)
- )
- (get_local $$42)
- )
- )
- (i64.select
- (get_local $$164)
- (get_local $$43)
- (i64.const 0)
- )
- )
- (i64.select
- (get_local $$153)
- (get_local $$11)
- (i64.select
- (get_local $$163)
- (i64.or
- (get_local $$38)
- (get_local $$37)
- )
- (get_local $$39)
- )
- )
- )
- )
- (i64.select
- (get_local $$161)
- (i64.select
- (get_local $$160)
- (get_local $$44)
- (i64.const 0)
- )
+ (get_local $$157)
+ (get_local $$120)
(i64.const 0)
)
- )
- (i64.select
- (get_local $$158)
- (get_local $$7)
(i64.select
- (get_local $$159)
- (i64.or
- (i64.select
- (get_local $$158)
- (get_local $$7)
- (i64.select
- (get_local $$157)
- (i64.or
- (get_local $$34)
- (get_local $$33)
- )
- (get_local $$35)
- )
- )
- (i64.select
- (get_local $$156)
- (get_local $$36)
+ (set_local $$155
+ (i64.eq
+ (get_local $$178)
(i64.const 0)
)
)
+ (get_local $$2)
(i64.select
- (get_local $$155)
- (get_local $$3)
- (i64.select
- (get_local $$154)
- (i64.or
- (get_local $$181)
- (get_local $$173)
- )
- (get_local $$169)
+ (get_local $$156)
+ (i64.or
+ (get_local $$117)
+ (get_local $$118)
)
+ (get_local $$119)
)
)
)
+ (i64.select
+ (get_local $$154)
+ (get_local $$121)
+ (i64.const 0)
+ )
)
)
)
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 104)
- )
- (i64.select
- (get_local $$165)
- (get_local $$14)
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 96)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$13)
+ (i64.select
+ (get_local $$168)
+ (i64.or
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$165)
- (get_local $$14)
+ (get_local $$165)
+ (get_local $$13)
+ (i64.select
+ (get_local $$167)
+ (i64.or
(i64.select
- (get_local $$167)
- (i64.or
- (i64.select
- (get_local $$166)
- (get_local $$115)
- (i64.const 0)
- )
- (i64.select
- (get_local $$162)
- (get_local $$10)
- (i64.select
- (get_local $$164)
- (i64.or
- (get_local $$112)
- (get_local $$113)
- )
- (get_local $$114)
- )
- )
- )
- (i64.select
- (get_local $$163)
- (get_local $$116)
- (i64.const 0)
- )
+ (get_local $$166)
+ (get_local $$102)
+ (i64.const 0)
)
- )
- (i64.select
- (get_local $$161)
(i64.select
- (set_local $$153
- (i64.eq
- (get_local $$171)
- (i64.const 0)
- )
- )
- (get_local $$6)
+ (get_local $$162)
+ (get_local $$9)
(i64.select
- (get_local $$160)
+ (get_local $$164)
(i64.or
- (get_local $$109)
- (get_local $$110)
+ (get_local $$99)
+ (get_local $$100)
)
- (get_local $$111)
+ (get_local $$101)
)
)
+ )
+ (i64.select
+ (get_local $$163)
+ (get_local $$103)
(i64.const 0)
)
)
+ )
+ (i64.select
+ (get_local $$161)
(i64.select
- (get_local $$158)
- (get_local $$6)
+ (get_local $$153)
+ (get_local $$5)
(i64.select
- (get_local $$159)
+ (get_local $$160)
(i64.or
- (i64.select
- (get_local $$157)
- (get_local $$120)
- (i64.const 0)
- )
- (i64.select
- (set_local $$155
- (i64.eq
- (get_local $$178)
- (i64.const 0)
- )
- )
- (get_local $$2)
- (i64.select
- (get_local $$156)
- (i64.or
- (get_local $$117)
- (get_local $$118)
- )
- (get_local $$119)
- )
- )
- )
- (i64.select
- (get_local $$154)
- (get_local $$121)
- (i64.const 0)
+ (get_local $$96)
+ (get_local $$97)
)
+ (get_local $$98)
)
)
+ (i64.const 0)
)
)
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 96)
- )
(i64.select
- (get_local $$165)
- (get_local $$13)
+ (get_local $$158)
+ (get_local $$5)
(i64.select
- (get_local $$168)
+ (get_local $$159)
(i64.or
(i64.select
- (get_local $$165)
- (get_local $$13)
+ (get_local $$157)
+ (get_local $$107)
+ (i64.const 0)
+ )
+ (i64.select
+ (get_local $$155)
+ (get_local $$1)
(i64.select
- (get_local $$167)
+ (get_local $$156)
(i64.or
- (i64.select
- (get_local $$166)
- (get_local $$102)
- (i64.const 0)
- )
- (i64.select
- (get_local $$162)
- (get_local $$9)
- (i64.select
- (get_local $$164)
- (i64.or
- (get_local $$99)
- (get_local $$100)
- )
- (get_local $$101)
- )
- )
- )
- (i64.select
- (get_local $$163)
- (get_local $$103)
- (i64.const 0)
+ (get_local $$104)
+ (get_local $$105)
)
+ (get_local $$106)
)
)
- (i64.select
- (get_local $$161)
+ )
+ (i64.select
+ (get_local $$154)
+ (get_local $$108)
+ (i64.const 0)
+ )
+ )
+ )
+ )
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 72)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$10)
+ (i64.select
+ (get_local $$168)
+ (i64.or
+ (i64.select
+ (get_local $$167)
+ (i64.select
+ (get_local $$166)
+ (get_local $$94)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
+ (i64.select
+ (get_local $$153)
+ (get_local $$2)
+ (i64.select
+ (get_local $$161)
+ (i64.or
(i64.select
(get_local $$153)
- (get_local $$5)
+ (get_local $$2)
(i64.select
(get_local $$160)
(i64.or
- (get_local $$96)
- (get_local $$97)
+ (get_local $$90)
+ (get_local $$91)
)
- (get_local $$98)
+ (get_local $$92)
)
)
- (i64.const 0)
- )
- )
- (i64.select
- (get_local $$158)
- (get_local $$5)
- (i64.select
- (get_local $$159)
- (i64.or
- (i64.select
- (get_local $$157)
- (get_local $$107)
- (i64.const 0)
- )
- (i64.select
- (get_local $$155)
- (get_local $$1)
- (i64.select
- (get_local $$156)
- (i64.or
- (get_local $$104)
- (get_local $$105)
- )
- (get_local $$106)
+ (i64.select
+ (set_local $$163
+ (i64.lt_u
+ (get_local $$170)
+ (i64.const 128)
)
)
+ (get_local $$93)
+ (i64.const 0)
)
+ )
+ (i64.select
+ (get_local $$162)
+ (get_local $$6)
(i64.select
- (get_local $$154)
- (get_local $$108)
- (i64.const 0)
+ (get_local $$164)
+ (i64.or
+ (get_local $$87)
+ (get_local $$88)
+ )
+ (get_local $$89)
)
)
)
)
)
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 72)
- )
(i64.select
- (get_local $$165)
- (get_local $$10)
+ (get_local $$159)
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$167)
+ (get_local $$157)
+ (get_local $$95)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
+ )
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 64)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$9)
+ (i64.select
+ (get_local $$168)
+ (i64.or
+ (i64.select
+ (get_local $$167)
+ (i64.select
+ (get_local $$166)
+ (get_local $$85)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
+ (i64.select
+ (get_local $$153)
+ (get_local $$1)
+ (i64.select
+ (get_local $$161)
+ (i64.or
(i64.select
- (get_local $$166)
- (get_local $$94)
+ (get_local $$153)
+ (get_local $$1)
+ (i64.select
+ (get_local $$160)
+ (i64.or
+ (get_local $$81)
+ (get_local $$82)
+ )
+ (get_local $$83)
+ )
+ )
+ (i64.select
+ (get_local $$163)
+ (get_local $$84)
(i64.const 0)
)
- (i64.const 0)
)
(i64.select
- (get_local $$153)
- (get_local $$2)
+ (get_local $$162)
+ (get_local $$5)
(i64.select
- (get_local $$161)
+ (get_local $$164)
(i64.or
- (i64.select
- (get_local $$153)
- (get_local $$2)
- (i64.select
- (get_local $$160)
- (i64.or
- (get_local $$90)
- (get_local $$91)
- )
- (get_local $$92)
- )
- )
- (i64.select
- (set_local $$163
- (i64.lt_u
- (get_local $$170)
- (i64.const 128)
- )
- )
- (get_local $$93)
- (i64.const 0)
- )
- )
- (i64.select
- (get_local $$162)
- (get_local $$6)
- (i64.select
- (get_local $$164)
- (i64.or
- (get_local $$87)
- (get_local $$88)
- )
- (get_local $$89)
- )
+ (get_local $$78)
+ (get_local $$79)
)
+ (get_local $$80)
)
)
)
+ )
+ )
+ (i64.select
+ (get_local $$159)
+ (i64.select
+ (get_local $$157)
+ (get_local $$86)
+ (i64.const 0)
+ )
+ (i64.const 0)
+ )
+ )
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 88)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$12)
+ (i64.select
+ (get_local $$168)
+ (i64.or
+ (i64.select
+ (get_local $$167)
(i64.select
- (get_local $$159)
+ (get_local $$165)
+ (get_local $$12)
(i64.select
- (get_local $$157)
- (get_local $$95)
- (i64.const 0)
+ (get_local $$166)
+ (i64.or
+ (get_local $$67)
+ (get_local $$68)
+ )
+ (get_local $$69)
)
- (i64.const 0)
)
+ (i64.const 0)
)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 64)
- )
- (i64.select
- (get_local $$165)
- (get_local $$9)
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$167)
+ (get_local $$153)
+ (get_local $$4)
+ (i64.select
+ (get_local $$161)
+ (i64.or
(i64.select
- (get_local $$166)
- (get_local $$85)
+ (get_local $$160)
+ (get_local $$73)
(i64.const 0)
)
- (i64.const 0)
- )
- (i64.select
- (get_local $$153)
- (get_local $$1)
(i64.select
- (get_local $$161)
- (i64.or
- (i64.select
- (get_local $$153)
- (get_local $$1)
- (i64.select
- (get_local $$160)
- (i64.or
- (get_local $$81)
- (get_local $$82)
- )
- (get_local $$83)
- )
- )
- (i64.select
- (get_local $$163)
- (get_local $$84)
+ (set_local $$162
+ (i64.eq
+ (get_local $$170)
(i64.const 0)
)
)
+ (get_local $$8)
(i64.select
- (get_local $$162)
- (get_local $$5)
- (i64.select
- (get_local $$164)
- (i64.or
- (get_local $$78)
- (get_local $$79)
- )
- (get_local $$80)
+ (get_local $$163)
+ (i64.or
+ (get_local $$70)
+ (get_local $$71)
)
+ (get_local $$72)
)
)
)
- )
- (i64.select
- (get_local $$159)
(i64.select
- (get_local $$157)
- (get_local $$86)
+ (get_local $$164)
+ (get_local $$74)
(i64.const 0)
)
- (i64.const 0)
)
)
)
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 88)
- )
(i64.select
- (get_local $$165)
- (get_local $$12)
+ (get_local $$159)
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$167)
- (i64.select
- (get_local $$165)
- (get_local $$12)
- (i64.select
- (get_local $$166)
- (i64.or
- (get_local $$67)
- (get_local $$68)
- )
- (get_local $$69)
- )
- )
- (i64.const 0)
- )
- (i64.select
- (get_local $$153)
- (get_local $$4)
- (i64.select
- (get_local $$161)
- (i64.or
- (i64.select
- (get_local $$160)
- (get_local $$73)
- (i64.const 0)
- )
- (i64.select
- (set_local $$162
- (i64.eq
- (get_local $$170)
- (i64.const 0)
- )
- )
- (get_local $$8)
- (i64.select
- (get_local $$163)
- (i64.or
- (get_local $$70)
- (get_local $$71)
- )
- (get_local $$72)
- )
- )
- )
- (i64.select
- (get_local $$164)
- (get_local $$74)
- (i64.const 0)
- )
- )
+ (get_local $$158)
+ (get_local $$4)
+ (i64.select
+ (get_local $$157)
+ (i64.or
+ (get_local $$76)
+ (get_local $$75)
)
+ (get_local $$77)
)
+ )
+ (i64.const 0)
+ )
+ )
+ )
+ )
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 80)
+ )
+ (i64.select
+ (get_local $$165)
+ (get_local $$11)
+ (i64.select
+ (get_local $$168)
+ (i64.or
+ (i64.select
+ (get_local $$167)
(i64.select
- (get_local $$159)
+ (get_local $$165)
+ (get_local $$11)
(i64.select
- (get_local $$158)
- (get_local $$4)
- (i64.select
- (get_local $$157)
- (i64.or
- (get_local $$76)
- (get_local $$75)
- )
- (get_local $$77)
+ (get_local $$166)
+ (i64.or
+ (get_local $$56)
+ (get_local $$57)
)
+ (get_local $$58)
)
- (i64.const 0)
)
+ (i64.const 0)
)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 80)
- )
- (i64.select
- (get_local $$165)
- (get_local $$11)
(i64.select
- (get_local $$168)
- (i64.or
- (i64.select
- (get_local $$167)
+ (get_local $$153)
+ (get_local $$3)
+ (i64.select
+ (get_local $$161)
+ (i64.or
(i64.select
- (get_local $$165)
- (get_local $$11)
+ (get_local $$160)
+ (get_local $$62)
+ (i64.const 0)
+ )
+ (i64.select
+ (get_local $$162)
+ (get_local $$7)
(i64.select
- (get_local $$166)
+ (get_local $$163)
(i64.or
- (get_local $$56)
- (get_local $$57)
+ (get_local $$59)
+ (get_local $$60)
)
- (get_local $$58)
+ (get_local $$61)
)
)
- (i64.const 0)
)
(i64.select
- (get_local $$153)
- (get_local $$3)
- (i64.select
- (get_local $$161)
- (i64.or
- (i64.select
- (get_local $$160)
- (get_local $$62)
- (i64.const 0)
- )
- (i64.select
- (get_local $$162)
- (get_local $$7)
- (i64.select
- (get_local $$163)
- (i64.or
- (get_local $$59)
- (get_local $$60)
- )
- (get_local $$61)
- )
- )
- )
- (i64.select
- (get_local $$164)
- (get_local $$63)
- (i64.const 0)
- )
- )
+ (get_local $$164)
+ (get_local $$63)
+ (i64.const 0)
)
)
+ )
+ )
+ (i64.select
+ (get_local $$159)
+ (i64.select
+ (get_local $$158)
+ (get_local $$3)
(i64.select
- (get_local $$159)
- (i64.select
- (get_local $$158)
- (get_local $$3)
- (i64.select
- (get_local $$157)
- (i64.or
- (get_local $$65)
- (get_local $$64)
- )
- (get_local $$66)
- )
+ (get_local $$157)
+ (i64.or
+ (get_local $$65)
+ (get_local $$64)
)
- (i64.const 0)
+ (get_local $$66)
)
)
+ (i64.const 0)
)
)
- (set_local $$185
- (i32.const 1024)
- )
- (set_local $$312
- (i32.add
- (get_local $$312)
- (get_local $$185)
- )
- )
- (set_local $$185
- (i32.const 1)
- )
- (set_local $$312
- (i32.store align=4
- (get_local $$185)
- (get_local $$312)
- )
- )
- (br $fake_return_waka123)
)
)
+ (set_local $$185
+ (i32.const 1024)
+ )
+ (set_local $$312
+ (i32.add
+ (get_local $$312)
+ (get_local $$185)
+ )
+ )
+ (set_local $$185
+ (i32.const 1)
+ )
+ (set_local $$312
+ (i32.store align=4
+ (get_local $$185)
+ (get_local $$312)
+ )
+ )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/load-ext.wast b/test/llvm_autogenerated/load-ext.wast
index 100ac2001..5c65d3592 100644
--- a/test/llvm_autogenerated/load-ext.wast
+++ b/test/llvm_autogenerated/load-ext.wast
@@ -11,112 +11,72 @@
(export "sext_i32_i64" $sext_i32_i64)
(export "zext_i32_i64" $zext_i32_i64)
(func $sext_i8_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_s align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_s align=1
+ (get_local $$0)
)
)
)
(func $zext_i8_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u align=1
+ (get_local $$0)
)
)
)
(func $sext_i16_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load16_s align=2
- (get_local $$0)
- )
- )
+ (return
+ (i32.load16_s align=2
+ (get_local $$0)
)
)
)
(func $zext_i16_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load16_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i32.load16_u align=2
+ (get_local $$0)
)
)
)
(func $sext_i8_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load8_s align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load8_s align=1
+ (get_local $$0)
)
)
)
(func $zext_i8_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load8_u align=1
+ (get_local $$0)
)
)
)
(func $sext_i16_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load16_s align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load16_s align=2
+ (get_local $$0)
)
)
)
(func $zext_i16_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load16_u align=2
- (get_local $$0)
- )
- )
+ (return
+ (i64.load16_u align=2
+ (get_local $$0)
)
)
)
(func $sext_i32_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_s align=4
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_s align=4
+ (get_local $$0)
)
)
)
(func $zext_i32_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load32_u align=4
- (get_local $$0)
- )
- )
+ (return
+ (i64.load32_u align=4
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/load-store-i1.wast b/test/llvm_autogenerated/load-store-i1.wast
index 63156af87..f7754e1df 100644
--- a/test/llvm_autogenerated/load-store-i1.wast
+++ b/test/llvm_autogenerated/load-store-i1.wast
@@ -7,88 +7,64 @@
(export "store_i32_i1" $store_i32_i1)
(export "store_i64_i1" $store_i64_i1)
(func $load_u_i1_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u align=1
+ (get_local $$0)
)
)
)
(func $load_s_i1_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shr_s
- (i32.shl
- (i32.load8_u align=1
- (get_local $$0)
- )
- (i32.const 31)
- )
- (i32.const 31)
+ (return
+ (i32.shr_s
+ (i32.shl
+ (i32.load8_u align=1
+ (get_local $$0)
)
+ (i32.const 31)
)
+ (i32.const 31)
)
)
)
(func $load_u_i1_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load8_u align=1
- (get_local $$0)
- )
- )
+ (return
+ (i64.load8_u align=1
+ (get_local $$0)
)
)
)
(func $load_s_i1_i64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.shr_s
- (i64.shl
- (i64.load8_u align=1
- (get_local $$0)
- )
- (i64.const 63)
- )
- (i64.const 63)
+ (return
+ (i64.shr_s
+ (i64.shl
+ (i64.load8_u align=1
+ (get_local $$0)
)
+ (i64.const 63)
)
+ (i64.const 63)
)
)
)
(func $store_i32_i1 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=8
- (get_local $$0)
- (i32.and
- (get_local $$1)
- (i32.const 1)
- )
- )
- (br $fake_return_waka123)
+ (i32.store align=8
+ (get_local $$0)
+ (i32.and
+ (get_local $$1)
+ (i32.const 1)
)
)
+ (return)
)
(func $store_i64_i1 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (i64.and
- (get_local $$1)
- (i64.const 1)
- )
- )
- (br $fake_return_waka123)
+ (i64.store align=8
+ (get_local $$0)
+ (i64.and
+ (get_local $$1)
+ (i64.const 1)
)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/load.wast b/test/llvm_autogenerated/load.wast
index 4ed4e2ae3..f4b85f2ad 100644
--- a/test/llvm_autogenerated/load.wast
+++ b/test/llvm_autogenerated/load.wast
@@ -5,46 +5,30 @@
(export "ldf32" $ldf32)
(export "ldf64" $ldf64)
(func $ldi32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=4
+ (get_local $$0)
)
)
)
(func $ldi64 (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load align=8
+ (get_local $$0)
)
)
)
(func $ldf32 (param $$0 i32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (f32.load align=4
+ (get_local $$0)
)
)
)
(func $ldf64 (param $$0 i32) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.load align=8
- (get_local $$0)
- )
- )
+ (return
+ (f64.load align=8
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/mem-intrinsics.wast b/test/llvm_autogenerated/mem-intrinsics.wast
index a00f43cb5..2fa6f992e 100644
--- a/test/llvm_autogenerated/mem-intrinsics.wast
+++ b/test/llvm_autogenerated/mem-intrinsics.wast
@@ -15,79 +15,55 @@
(export "frame_index" $frame_index)
(export "discard_result" $discard_result)
(func $copy_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $memcpy
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $memcpy
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $copy_no (param $$0 i32) (param $$1 i32) (param $$2 i32)
- (block $fake_return_waka123
- (block
- (call_import $memcpy
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- (br $fake_return_waka123)
- )
+ (call_import $memcpy
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
+ (return)
)
(func $move_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $memmove
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $memmove
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $move_no (param $$0 i32) (param $$1 i32) (param $$2 i32)
- (block $fake_return_waka123
- (block
- (call_import $memmove
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- (br $fake_return_waka123)
- )
+ (call_import $memmove
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
+ (return)
)
(func $set_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call_import $memset
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (call_import $memset
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $set_no (param $$0 i32) (param $$1 i32) (param $$2 i32)
- (block $fake_return_waka123
- (block
- (call_import $memset
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- (br $fake_return_waka123)
- )
+ (call_import $memset
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
+ (return)
)
(func $frame_index
(local $$0 i32)
@@ -95,106 +71,98 @@
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 4096)
- )
- (set_local $$4
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$1)
- (get_local $$4)
- )
- )
- (set_local $$3
- (i32.const 2048)
- )
- (set_local $$3
- (i32.add
- (get_local $$4)
- (get_local $$3)
- )
- )
- (call_import $memset
- (get_local $$3)
- (i32.const 0)
- (i32.const 1024)
- )
- (call_import $memset
- (get_local $$4)
- (i32.const 0)
- (i32.const 1024)
- )
- (set_local $$2
- (i32.const 4096)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$2)
- (get_local $$4)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$1
+ (i32.const 4096)
+ )
+ (set_local $$4
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$4)
+ )
+ )
+ (set_local $$3
+ (i32.const 2048)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$4)
+ (get_local $$3)
)
)
+ (call_import $memset
+ (get_local $$3)
+ (i32.const 0)
+ (i32.const 1024)
+ )
+ (call_import $memset
+ (get_local $$4)
+ (i32.const 0)
+ (i32.const 1024)
+ )
+ (set_local $$2
+ (i32.const 4096)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$4)
+ )
+ )
+ (return)
)
(func $discard_result (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (block $label$1
- (br_if
- (i32.eq
- (get_local $$3)
- (i32.const 0)
- )
- $label$1
- )
- (set_local $$0
- (call_import $def)
- )
- (br $label$0)
- )
- (br_if
- (get_local $$4)
- $label$0
- )
- (call_import $memset
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
+ (block $label$0
+ (block $label$1
+ (br_if
+ (i32.eq
+ (get_local $$3)
+ (i32.const 0)
)
+ $label$1
)
- (br $fake_return_waka123
- (get_local $$0)
+ (set_local $$0
+ (call_import $def)
)
+ (br $label$0)
)
+ (br_if
+ (get_local $$4)
+ $label$0
+ )
+ (call_import $memset
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (return
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/memory-addr32.wast b/test/llvm_autogenerated/memory-addr32.wast
index 12d843ead..215a230b3 100644
--- a/test/llvm_autogenerated/memory-addr32.wast
+++ b/test/llvm_autogenerated/memory-addr32.wast
@@ -3,21 +3,13 @@
(export "memory_size" $memory_size)
(export "grow_memory" $grow_memory)
(func $memory_size (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (memory_size)
- )
- )
+ (return
+ (memory_size)
)
)
(func $grow_memory (param $$0 i32)
- (block $fake_return_waka123
- (block
- (memory_size)
- (br $fake_return_waka123)
- )
- )
+ (memory_size)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/memory-addr64.wast b/test/llvm_autogenerated/memory-addr64.wast
index 64201e3d6..efd88ca52 100644
--- a/test/llvm_autogenerated/memory-addr64.wast
+++ b/test/llvm_autogenerated/memory-addr64.wast
@@ -3,21 +3,13 @@
(export "memory_size" $memory_size)
(export "grow_memory" $grow_memory)
(func $memory_size (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (memory_size)
- )
- )
+ (return
+ (memory_size)
)
)
(func $grow_memory (param $$0 i64)
- (block $fake_return_waka123
- (block
- (memory_size)
- (br $fake_return_waka123)
- )
- )
+ (memory_size)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/offset-folding.wast b/test/llvm_autogenerated/offset-folding.wast
index 32680aad3..89bd2903b 100644
--- a/test/llvm_autogenerated/offset-folding.wast
+++ b/test/llvm_autogenerated/offset-folding.wast
@@ -5,39 +5,23 @@
(export "test2" $test2)
(export "test3" $test3)
(func $test0 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 196)
- )
- )
+ (return
+ (i32.const 196)
)
)
(func $test1 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 204)
- )
- )
+ (return
+ (i32.const 204)
)
)
(func $test2 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 8)
- )
- )
+ (return
+ (i32.const 8)
)
)
(func $test3 (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.const 16)
- )
- )
+ (return
+ (i32.const 16)
)
)
)
diff --git a/test/llvm_autogenerated/offset.wast b/test/llvm_autogenerated/offset.wast
index 81a21b06d..caf0f95a2 100644
--- a/test/llvm_autogenerated/offset.wast
+++ b/test/llvm_autogenerated/offset.wast
@@ -36,448 +36,316 @@
(export "aggregate_return" $aggregate_return)
(export "aggregate_return_without_merge" $aggregate_return_without_merge)
(func $load_i32_with_folded_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load offset=24 align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load offset=24 align=4
+ (get_local $$0)
)
)
)
(func $load_i32_with_folded_gep_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load offset=24 align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load offset=24 align=4
+ (get_local $$0)
)
)
)
(func $load_i32_with_unfolded_gep_negative_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (i32.add
- (get_local $$0)
- (i32.const -24)
- )
- )
+ (return
+ (i32.load align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const -24)
)
)
)
)
(func $load_i32_with_unfolded_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- )
+ (return
+ (i32.load align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
)
)
)
(func $load_i32_with_unfolded_gep_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- )
+ (return
+ (i32.load align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
)
)
)
(func $load_i64_with_folded_offset (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load offset=24 align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load offset=24 align=8
+ (get_local $$0)
)
)
)
(func $load_i64_with_folded_gep_offset (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load offset=24 align=8
- (get_local $$0)
- )
- )
+ (return
+ (i64.load offset=24 align=8
+ (get_local $$0)
)
)
)
(func $load_i64_with_unfolded_gep_negative_offset (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (i32.add
- (get_local $$0)
- (i32.const -24)
- )
- )
+ (return
+ (i64.load align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const -24)
)
)
)
)
(func $load_i64_with_unfolded_offset (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- )
+ (return
+ (i64.load align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
)
)
)
(func $load_i64_with_unfolded_gep_offset (param $$0 i32) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.load align=8
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- )
+ (return
+ (i64.load align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
)
)
)
(func $store_i32_with_folded_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=24 align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=24 align=4
+ (get_local $$0)
+ (i32.const 0)
)
+ (return)
)
(func $store_i32_with_folded_gep_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=24 align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=24 align=4
+ (get_local $$0)
+ (i32.const 0)
)
+ (return)
)
(func $store_i32_with_unfolded_gep_negative_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (i32.add
- (get_local $$0)
- (i32.const -24)
- )
- (i32.const 0)
- )
- (br $fake_return_waka123)
+ (i32.store align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const -24)
)
+ (i32.const 0)
)
+ (return)
)
(func $store_i32_with_unfolded_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- (i32.const 0)
- )
- (br $fake_return_waka123)
+ (i32.store align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
+ (i32.const 0)
)
+ (return)
)
(func $store_i32_with_unfolded_gep_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- (i32.const 0)
- )
- (br $fake_return_waka123)
+ (i32.store align=4
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
+ (i32.const 0)
)
+ (return)
)
(func $store_i64_with_folded_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store offset=24 align=8
- (get_local $$0)
- (i64.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i64.store offset=24 align=8
+ (get_local $$0)
+ (i64.const 0)
)
+ (return)
)
(func $store_i64_with_folded_gep_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store offset=24 align=8
- (get_local $$0)
- (i64.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i64.store offset=24 align=8
+ (get_local $$0)
+ (i64.const 0)
)
+ (return)
)
(func $store_i64_with_unfolded_gep_negative_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const -24)
- )
- (i64.const 0)
- )
- (br $fake_return_waka123)
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const -24)
)
+ (i64.const 0)
)
+ (return)
)
(func $store_i64_with_unfolded_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- (i64.const 0)
- )
- (br $fake_return_waka123)
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
+ (i64.const 0)
)
+ (return)
)
(func $store_i64_with_unfolded_gep_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 24)
- )
- (i64.const 0)
- )
- (br $fake_return_waka123)
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 24)
)
+ (i64.const 0)
)
+ (return)
)
(func $load_i32_from_numeric_address (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load offset=42 align=4
- (i32.const 0)
- )
- )
+ (return
+ (i32.load offset=42 align=4
+ (i32.const 0)
)
)
)
(func $load_i32_from_global_address (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load offset=8 align=4
- (i32.const 0)
- )
- )
+ (return
+ (i32.load offset=8 align=4
+ (i32.const 0)
)
)
)
(func $store_i32_to_numeric_address
- (block $fake_return_waka123
- (block
- (i32.store offset=42 align=4
- (i32.const 0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=42 align=4
+ (i32.const 0)
+ (i32.const 0)
)
+ (return)
)
(func $store_i32_to_global_address
- (block $fake_return_waka123
- (block
- (i32.store offset=8 align=4
- (i32.const 0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=8 align=4
+ (i32.const 0)
+ (i32.const 0)
)
+ (return)
)
(func $load_i8_s_with_folded_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_s offset=24 align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_s offset=24 align=1
+ (get_local $$0)
)
)
)
(func $load_i8_s_with_folded_gep_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_s offset=24 align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_s offset=24 align=1
+ (get_local $$0)
)
)
)
(func $load_i8_u_with_folded_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u offset=24 align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u offset=24 align=1
+ (get_local $$0)
)
)
)
(func $load_i8_u_with_folded_gep_offset (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load8_u offset=24 align=1
- (get_local $$0)
- )
- )
+ (return
+ (i32.load8_u offset=24 align=1
+ (get_local $$0)
)
)
)
(func $store_i8_with_folded_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=24 align=8
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=24 align=8
+ (get_local $$0)
+ (i32.const 0)
)
+ (return)
)
(func $store_i8_with_folded_gep_offset (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=24 align=8
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123)
- )
+ (i32.store offset=24 align=8
+ (get_local $$0)
+ (i32.const 0)
)
+ (return)
)
(func $aggregate_load_store (param $$0 i32) (param $$1 i32)
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$2
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$3
- (i32.load offset=4 align=4
- (get_local $$0)
- )
- )
- (set_local $$4
- (i32.load offset=8 align=4
- (get_local $$0)
- )
- )
- (i32.store offset=12 align=4
- (get_local $$1)
- (i32.load offset=12 align=4
- (get_local $$0)
- )
- )
- (i32.store offset=8 align=4
- (get_local $$1)
- (get_local $$4)
- )
- (i32.store offset=4 align=4
- (get_local $$1)
- (get_local $$3)
- )
- (i32.store align=4
- (get_local $$1)
- (get_local $$2)
- )
- (br $fake_return_waka123)
+ (set_local $$2
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$3
+ (i32.load offset=4 align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$4
+ (i32.load offset=8 align=4
+ (get_local $$0)
+ )
+ )
+ (i32.store offset=12 align=4
+ (get_local $$1)
+ (i32.load offset=12 align=4
+ (get_local $$0)
)
)
+ (i32.store offset=8 align=4
+ (get_local $$1)
+ (get_local $$4)
+ )
+ (i32.store offset=4 align=4
+ (get_local $$1)
+ (get_local $$3)
+ )
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$2)
+ )
+ (return)
)
(func $aggregate_return (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i64.store align=4
- (get_local $$0)
- (i64.store offset=8 align=4
- (get_local $$0)
- (i64.const 0)
- )
- )
- (br $fake_return_waka123)
+ (i64.store align=4
+ (get_local $$0)
+ (i64.store offset=8 align=4
+ (get_local $$0)
+ (i64.const 0)
)
)
+ (return)
)
(func $aggregate_return_without_merge (param $$0 i32)
- (block $fake_return_waka123
- (block
- (i32.store offset=8 align=4
+ (i32.store offset=8 align=4
+ (get_local $$0)
+ (i32.store offset=12 align=16
+ (get_local $$0)
+ (i32.store offset=14 align=8
(get_local $$0)
- (i32.store offset=12 align=16
- (get_local $$0)
- (i32.store offset=14 align=8
- (get_local $$0)
- (i32.const 0)
- )
- )
- )
- (i64.store align=8
- (get_local $$0)
- (i64.const 0)
+ (i32.const 0)
)
- (br $fake_return_waka123)
)
)
+ (i64.store align=8
+ (get_local $$0)
+ (i64.const 0)
+ )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 11 }
diff --git a/test/llvm_autogenerated/phi.wast b/test/llvm_autogenerated/phi.wast
index c1d4d5c2c..d4c940fa7 100644
--- a/test/llvm_autogenerated/phi.wast
+++ b/test/llvm_autogenerated/phi.wast
@@ -3,74 +3,66 @@
(export "test0" $test0)
(export "test1" $test1)
(func $test0 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.gt_s
- (get_local $$0)
- (i32.const -1)
- )
- $label$0
- )
- (set_local $$0
- (i32.div_s
- (get_local $$0)
- (i32.const 3)
- )
- )
+ (block $label$0
+ (br_if
+ (i32.gt_s
+ (get_local $$0)
+ (i32.const -1)
)
- (br $fake_return_waka123
+ $label$0
+ )
+ (set_local $$0
+ (i32.div_s
(get_local $$0)
+ (i32.const 3)
)
)
)
+ (return
+ (get_local $$0)
+ )
)
(func $test1 (param $$0 i32) (result i32)
(local $$1 i32)
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$2
- (i32.const 0)
- )
- (set_local $$3
+ (set_local $$2
+ (i32.const 0)
+ )
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.const 0)
+ )
+ (loop $label$1 $label$0
+ (set_local $$1
+ (get_local $$3)
+ )
+ (set_local $$3
+ (get_local $$2)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
(i32.const 1)
)
- (set_local $$4
- (i32.const 0)
- )
- (loop $label$1 $label$0
- (set_local $$1
- (get_local $$3)
- )
- (set_local $$3
- (get_local $$2)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (i32.const 1)
- )
- )
- (set_local $$2
- (get_local $$1)
- )
- (br_if
- (i32.lt_s
- (get_local $$4)
- (get_local $$0)
- )
- $label$0
- )
- )
- (br $fake_return_waka123
- (get_local $$3)
+ )
+ (set_local $$2
+ (get_local $$1)
+ )
+ (br_if
+ (i32.lt_s
+ (get_local $$4)
+ (get_local $$0)
)
+ $label$0
)
)
+ (return
+ (get_local $$3)
+ )
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/reg-stackify.wast b/test/llvm_autogenerated/reg-stackify.wast
index 138634a67..624550d38 100644
--- a/test/llvm_autogenerated/reg-stackify.wast
+++ b/test/llvm_autogenerated/reg-stackify.wast
@@ -23,209 +23,177 @@
(export "multiple_uses_in_same_insn" $multiple_uses_in_same_insn)
(export "commute" $commute)
(func $no0 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123
- (get_local $$1)
- )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
)
)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
+ )
+ (return
+ (get_local $$1)
+ )
)
(func $no1 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123
- (get_local $$1)
- )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
)
)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
+ )
+ (return
+ (get_local $$1)
+ )
)
(func $yes0 (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$1)
- )
- )
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
+ )
+ (return
+ (i32.load align=4
+ (get_local $$1)
)
)
)
(func $yes1 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$0)
- )
- )
+ (return
+ (i32.load align=4
+ (get_local $$0)
)
)
)
(func $stack_uses (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (result i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.ne
- (i32.xor
- (i32.xor
- (i32.lt_s
- (get_local $$0)
- (i32.const 1)
- )
- (i32.lt_s
- (get_local $$1)
- (i32.const 2)
- )
- )
- (i32.xor
- (i32.lt_s
- (get_local $$2)
- (i32.const 1)
- )
- (i32.lt_s
- (get_local $$3)
- (i32.const 2)
- )
- )
+ (block $label$0
+ (br_if
+ (i32.ne
+ (i32.xor
+ (i32.xor
+ (i32.lt_s
+ (get_local $$0)
+ (i32.const 1)
+ )
+ (i32.lt_s
+ (get_local $$1)
+ (i32.const 2)
+ )
+ )
+ (i32.xor
+ (i32.lt_s
+ (get_local $$2)
+ (i32.const 1)
+ )
+ (i32.lt_s
+ (get_local $$3)
+ (i32.const 2)
)
- (i32.const 1)
)
- $label$0
- )
- (br $fake_return_waka123
- (i32.const 0)
)
- )
- (br $fake_return_waka123
(i32.const 1)
)
+ $label$0
)
+ (return
+ (i32.const 0)
+ )
+ )
+ (return
+ (i32.const 1)
)
)
(func $multiple_uses (param $$0 i32) (param $$1 i32) (param $$2 i32)
(local $$3 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.ge_u
- (set_local $$3
- (i32.load align=4
- (get_local $$2)
- )
- )
- (get_local $$1)
- )
- $label$0
- )
- (br_if
- (i32.lt_u
- (get_local $$3)
- (get_local $$0)
+ (block $label$0
+ (br_if
+ (i32.ge_u
+ (set_local $$3
+ (i32.load align=4
+ (get_local $$2)
)
- $label$0
- )
- (i32.store align=4
- (get_local $$2)
- (get_local $$3)
)
+ (get_local $$1)
)
- (br $fake_return_waka123)
+ $label$0
+ )
+ (br_if
+ (i32.lt_u
+ (get_local $$3)
+ (get_local $$0)
+ )
+ $label$0
+ )
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$3)
)
)
+ (return)
)
(func $stackify_store_across_side_effects (param $$0 i32)
(local $$1 i64)
- (block $fake_return_waka123
- (block
- (set_local $$1
- (i64.store align=8
- (get_local $$0)
- (i64.const 4611686018427387904)
- )
- )
- (call_import $evoke_side_effects)
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (call_import $evoke_side_effects)
- (br $fake_return_waka123)
+ (set_local $$1
+ (i64.store align=8
+ (get_local $$0)
+ (i64.const 4611686018427387904)
)
)
+ (call_import $evoke_side_effects)
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
+ )
+ (call_import $evoke_side_effects)
+ (return)
)
(func $div_tree (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (param $$5 i32) (param $$6 i32) (param $$7 i32) (param $$8 i32) (param $$9 i32) (param $$10 i32) (param $$11 i32) (param $$12 i32) (param $$13 i32) (param $$14 i32) (param $$15 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
+ (return
+ (i32.div_s
+ (i32.div_s
(i32.div_s
(i32.div_s
- (i32.div_s
- (i32.div_s
- (get_local $$0)
- (get_local $$1)
- )
- (i32.div_s
- (get_local $$2)
- (get_local $$3)
- )
- )
- (i32.div_s
- (i32.div_s
- (get_local $$4)
- (get_local $$5)
- )
- (i32.div_s
- (get_local $$6)
- (get_local $$7)
- )
- )
+ (get_local $$0)
+ (get_local $$1)
)
(i32.div_s
- (i32.div_s
- (i32.div_s
- (get_local $$8)
- (get_local $$9)
- )
- (i32.div_s
- (get_local $$10)
- (get_local $$11)
- )
- )
- (i32.div_s
- (i32.div_s
- (get_local $$12)
- (get_local $$13)
- )
- (i32.div_s
- (get_local $$14)
- (get_local $$15)
- )
- )
+ (get_local $$2)
+ (get_local $$3)
+ )
+ )
+ (i32.div_s
+ (i32.div_s
+ (get_local $$4)
+ (get_local $$5)
+ )
+ (i32.div_s
+ (get_local $$6)
+ (get_local $$7)
+ )
+ )
+ )
+ (i32.div_s
+ (i32.div_s
+ (i32.div_s
+ (get_local $$8)
+ (get_local $$9)
+ )
+ (i32.div_s
+ (get_local $$10)
+ (get_local $$11)
+ )
+ )
+ (i32.div_s
+ (i32.div_s
+ (get_local $$12)
+ (get_local $$13)
+ )
+ (i32.div_s
+ (get_local $$14)
+ (get_local $$15)
)
)
)
@@ -233,51 +201,39 @@
)
)
(func $simple_multiple_use (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (call_import $use_a
- (set_local $$0
- (i32.mul
- (get_local $$1)
- (get_local $$0)
- )
- )
- )
- (call_import $use_b
+ (call_import $use_a
+ (set_local $$0
+ (i32.mul
+ (get_local $$1)
(get_local $$0)
)
- (br $fake_return_waka123)
)
)
+ (call_import $use_b
+ (get_local $$0)
+ )
+ (return)
)
(func $multiple_uses_in_same_insn (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (call_import $use_2
- (set_local $$0
- (i32.mul
- (get_local $$1)
- (get_local $$0)
- )
- )
+ (call_import $use_2
+ (set_local $$0
+ (i32.mul
+ (get_local $$1)
(get_local $$0)
)
- (br $fake_return_waka123)
)
+ (get_local $$0)
)
+ (return)
)
(func $commute (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.add
- (i32.add
- (call_import $red)
- (call_import $green)
- )
- (call_import $blue)
- )
+ (return
+ (i32.add
+ (i32.add
+ (call_import $red)
+ (call_import $green)
)
+ (call_import $blue)
)
)
)
diff --git a/test/llvm_autogenerated/return-int32.wast b/test/llvm_autogenerated/return-int32.wast
index 928df5279..dc9e4d452 100644
--- a/test/llvm_autogenerated/return-int32.wast
+++ b/test/llvm_autogenerated/return-int32.wast
@@ -2,12 +2,8 @@
(memory 0 4294967295)
(export "return_i32" $return_i32)
(func $return_i32 (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$0)
- )
- )
+ (return
+ (get_local $$0)
)
)
)
diff --git a/test/llvm_autogenerated/return-void.wast b/test/llvm_autogenerated/return-void.wast
index 191019f9a..23da2dafe 100644
--- a/test/llvm_autogenerated/return-void.wast
+++ b/test/llvm_autogenerated/return-void.wast
@@ -2,11 +2,7 @@
(memory 0 4294967295)
(export "return_void" $return_void)
(func $return_void
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/select.wast b/test/llvm_autogenerated/select.wast
index 507a3ca99..30d1ff0b8 100644
--- a/test/llvm_autogenerated/select.wast
+++ b/test/llvm_autogenerated/select.wast
@@ -13,158 +13,110 @@
(export "select_f64_eq" $select_f64_eq)
(export "select_f64_ne" $select_f64_ne)
(func $select_i32_bool (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (i32.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_i32_eq (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.select
- (get_local $$0)
- (get_local $$2)
- (get_local $$1)
- )
- )
+ (return
+ (i32.select
+ (get_local $$0)
+ (get_local $$2)
+ (get_local $$1)
)
)
)
(func $select_i32_ne (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (i32.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_i64_bool (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (i64.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_i64_eq (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.select
- (get_local $$0)
- (get_local $$2)
- (get_local $$1)
- )
- )
+ (return
+ (i64.select
+ (get_local $$0)
+ (get_local $$2)
+ (get_local $$1)
)
)
)
(func $select_i64_ne (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i64.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (i64.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_f32_bool (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (f32.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_f32_eq (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.select
- (get_local $$0)
- (get_local $$2)
- (get_local $$1)
- )
- )
+ (return
+ (f32.select
+ (get_local $$0)
+ (get_local $$2)
+ (get_local $$1)
)
)
)
(func $select_f32_ne (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f32.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (f32.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_f64_bool (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (f64.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
(func $select_f64_eq (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.select
- (get_local $$0)
- (get_local $$2)
- (get_local $$1)
- )
- )
+ (return
+ (f64.select
+ (get_local $$0)
+ (get_local $$2)
+ (get_local $$1)
)
)
)
(func $select_f64_ne (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (f64.select
- (get_local $$0)
- (get_local $$1)
- (get_local $$2)
- )
- )
+ (return
+ (f64.select
+ (get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/llvm_autogenerated/signext-zeroext.wast b/test/llvm_autogenerated/signext-zeroext.wast
index 31f6fe75c..aabb56700 100644
--- a/test/llvm_autogenerated/signext-zeroext.wast
+++ b/test/llvm_autogenerated/signext-zeroext.wast
@@ -5,66 +5,50 @@
(export "z2s_call" $z2s_call)
(export "s2z_call" $s2z_call)
(func $z2s_func (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shr_s
- (i32.shl
- (get_local $$0)
- (i32.const 24)
- )
- (i32.const 24)
- )
+ (return
+ (i32.shr_s
+ (i32.shl
+ (get_local $$0)
+ (i32.const 24)
)
+ (i32.const 24)
)
)
)
(func $s2z_func (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.and
- (get_local $$0)
- (i32.const 255)
- )
- )
+ (return
+ (i32.and
+ (get_local $$0)
+ (i32.const 255)
)
)
)
(func $z2s_call (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (call $z2s_func
- (i32.and
- (get_local $$0)
- (i32.const 255)
- )
- )
+ (return
+ (call $z2s_func
+ (i32.and
+ (get_local $$0)
+ (i32.const 255)
)
)
)
)
(func $s2z_call (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.shr_s
- (i32.shl
- (call $s2z_func
- (i32.shr_s
- (i32.shl
- (get_local $$0)
- (i32.const 24)
- )
- (i32.const 24)
- )
+ (return
+ (i32.shr_s
+ (i32.shl
+ (call $s2z_func
+ (i32.shr_s
+ (i32.shl
+ (get_local $$0)
+ (i32.const 24)
)
(i32.const 24)
)
- (i32.const 24)
)
+ (i32.const 24)
)
+ (i32.const 24)
)
)
)
diff --git a/test/llvm_autogenerated/store-results.wast b/test/llvm_autogenerated/store-results.wast
index 17ca8effa..c99ac2aed 100644
--- a/test/llvm_autogenerated/store-results.wast
+++ b/test/llvm_autogenerated/store-results.wast
@@ -4,76 +4,64 @@
(export "foo" $foo)
(export "bar" $bar)
(func $single_block (param $$0 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (i32.store align=4
- (get_local $$0)
- (i32.const 0)
- )
- )
+ (return
+ (i32.store align=4
+ (get_local $$0)
+ (i32.const 0)
)
)
)
(func $foo
(local $$0 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 0)
+ (set_local $$0
+ (i32.const 0)
+ )
+ (loop $label$1 $label$0
+ (i32.store offset=8 align=4
+ (i32.const 0)
+ (i32.const 0)
+ )
+ (set_local $$0
+ (i32.add
+ (get_local $$0)
+ (i32.const 1)
)
- (loop $label$1 $label$0
- (i32.store offset=8 align=4
- (i32.const 0)
- (i32.const 0)
- )
- (set_local $$0
- (i32.add
- (get_local $$0)
- (i32.const 1)
- )
- )
- (br_if
- (i32.ne
- (get_local $$0)
- (i32.const 256)
- )
- $label$0
- )
+ )
+ (br_if
+ (i32.ne
+ (get_local $$0)
+ (i32.const 256)
)
- (br $fake_return_waka123)
+ $label$0
)
)
+ (return)
)
(func $bar
(local $$0 f32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (f32.const 0)
+ (set_local $$0
+ (f32.const 0)
+ )
+ (loop $label$1 $label$0
+ (i32.store offset=8 align=4
+ (i32.const 0)
+ (i32.const 0)
+ )
+ (set_local $$0
+ (f32.add
+ (get_local $$0)
+ (f32.const 1)
)
- (loop $label$1 $label$0
- (i32.store offset=8 align=4
- (i32.const 0)
- (i32.const 0)
- )
- (set_local $$0
- (f32.add
- (get_local $$0)
- (f32.const 1)
- )
- )
- (br_if
- (f32.ne
- (get_local $$0)
- (f32.const 256)
- )
- $label$0
- )
+ )
+ (br_if
+ (f32.ne
+ (get_local $$0)
+ (f32.const 256)
)
- (br $fake_return_waka123)
+ $label$0
)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 19 }
diff --git a/test/llvm_autogenerated/store-trunc.wast b/test/llvm_autogenerated/store-trunc.wast
index 9f09363d9..dfbf5f41c 100644
--- a/test/llvm_autogenerated/store-trunc.wast
+++ b/test/llvm_autogenerated/store-trunc.wast
@@ -6,59 +6,39 @@
(export "trunc_i16_i64" $trunc_i16_i64)
(export "trunc_i32_i64" $trunc_i32_i64)
(func $trunc_i8_i32 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $trunc_i16_i32 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=16
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=16
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $trunc_i8_i64 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $trunc_i16_i64 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=16
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=16
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $trunc_i32_i64 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=32
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=32
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/store.wast b/test/llvm_autogenerated/store.wast
index 2f16fb037..7063462f4 100644
--- a/test/llvm_autogenerated/store.wast
+++ b/test/llvm_autogenerated/store.wast
@@ -5,48 +5,32 @@
(export "stf32" $stf32)
(export "stf64" $stf64)
(func $sti32 (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i32.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $sti64 (param $$0 i32) (param $$1 i64)
- (block $fake_return_waka123
- (block
- (i64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $stf32 (param $$0 i32) (param $$1 f32)
- (block $fake_return_waka123
- (block
- (f32.store align=4
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (f32.store align=4
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
(func $stf64 (param $$0 i32) (param $$1 f64)
- (block $fake_return_waka123
- (block
- (f64.store align=8
- (get_local $$0)
- (get_local $$1)
- )
- (br $fake_return_waka123)
- )
+ (f64.store align=8
+ (get_local $$0)
+ (get_local $$1)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/switch.wast b/test/llvm_autogenerated/switch.wast
index ad24c7987..103124c74 100644
--- a/test/llvm_autogenerated/switch.wast
+++ b/test/llvm_autogenerated/switch.wast
@@ -10,92 +10,84 @@
(export "bar32" $bar32)
(export "bar64" $bar64)
(func $bar32 (param $$0 i32)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i32.gt_u
- (get_local $$0)
- (i32.const 23)
- )
- $label$0
- )
- (block $label$1
- (block $label$2
- (block $label$3
- (block $label$4
- (block $label$5
- (block $label$6
- (tableswitch
- (get_local $$0)
- (table (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$3) (br $label$2) (br $label$1)) (br $label$6)
- )
- )
- (call_import $foo0)
- (br $label$0)
+ (block $label$0
+ (br_if
+ (i32.gt_u
+ (get_local $$0)
+ (i32.const 23)
+ )
+ $label$0
+ )
+ (block $label$1
+ (block $label$2
+ (block $label$3
+ (block $label$4
+ (block $label$5
+ (block $label$6
+ (tableswitch
+ (get_local $$0)
+ (table (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$3) (br $label$2) (br $label$1)) (br $label$6)
)
- (call_import $foo1)
- (br $label$0)
)
- (call_import $foo2)
+ (call_import $foo0)
(br $label$0)
)
- (call_import $foo3)
+ (call_import $foo1)
(br $label$0)
)
- (call_import $foo4)
+ (call_import $foo2)
(br $label$0)
)
- (call_import $foo5)
+ (call_import $foo3)
+ (br $label$0)
)
- (br $fake_return_waka123)
+ (call_import $foo4)
+ (br $label$0)
)
+ (call_import $foo5)
)
+ (return)
)
(func $bar64 (param $$0 i64)
- (block $fake_return_waka123
- (block
- (block $label$0
- (br_if
- (i64.gt_u
- (get_local $$0)
- (i64.const 23)
- )
- $label$0
- )
- (block $label$1
- (block $label$2
- (block $label$3
- (block $label$4
- (block $label$5
- (block $label$6
- (tableswitch
- (i32.wrap/i64
- (get_local $$0)
- )
- (table (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$3) (br $label$2) (br $label$1)) (br $label$6)
- )
+ (block $label$0
+ (br_if
+ (i64.gt_u
+ (get_local $$0)
+ (i64.const 23)
+ )
+ $label$0
+ )
+ (block $label$1
+ (block $label$2
+ (block $label$3
+ (block $label$4
+ (block $label$5
+ (block $label$6
+ (tableswitch
+ (i32.wrap/i64
+ (get_local $$0)
)
- (call_import $foo0)
- (br $label$0)
+ (table (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$6) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$5) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$4) (br $label$3) (br $label$2) (br $label$1)) (br $label$6)
)
- (call_import $foo1)
- (br $label$0)
)
- (call_import $foo2)
+ (call_import $foo0)
(br $label$0)
)
- (call_import $foo3)
+ (call_import $foo1)
(br $label$0)
)
- (call_import $foo4)
+ (call_import $foo2)
(br $label$0)
)
- (call_import $foo5)
+ (call_import $foo3)
+ (br $label$0)
)
- (br $fake_return_waka123)
+ (call_import $foo4)
+ (br $label$0)
)
+ (call_import $foo5)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/unreachable.wast b/test/llvm_autogenerated/unreachable.wast
index 0dac9c8cc..671cbf5dd 100644
--- a/test/llvm_autogenerated/unreachable.wast
+++ b/test/llvm_autogenerated/unreachable.wast
@@ -10,20 +10,12 @@
(unreachable)
)
(func $f2
- (block $fake_return_waka123
- (block
- (unreachable)
- (br $fake_return_waka123)
- )
- )
+ (unreachable)
+ (return)
)
(func $f3
- (block $fake_return_waka123
- (block
- (unreachable)
- (br $fake_return_waka123)
- )
- )
+ (unreachable)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/unused-argument.wast b/test/llvm_autogenerated/unused-argument.wast
index acea3edad..ce53b12ef 100644
--- a/test/llvm_autogenerated/unused-argument.wast
+++ b/test/llvm_autogenerated/unused-argument.wast
@@ -6,30 +6,18 @@
(export "unused_second" $unused_second)
(export "call_something" $call_something)
(func $unused_first (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$1)
- )
- )
+ (return
+ (get_local $$1)
)
)
(func $unused_second (param $$0 i32) (param $$1 i32) (result i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123
- (get_local $$0)
- )
- )
+ (return
+ (get_local $$0)
)
)
(func $call_something
- (block $fake_return_waka123
- (block
- (call_import $return_something)
- (br $fake_return_waka123)
- )
- )
+ (call_import $return_something)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/userstack.wast b/test/llvm_autogenerated/userstack.wast
index a67c49b40..1cbcb4c73 100644
--- a/test/llvm_autogenerated/userstack.wast
+++ b/test/llvm_autogenerated/userstack.wast
@@ -13,122 +13,114 @@
(local $$1 i32)
(local $$2 i32)
(local $$3 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 16)
- )
- (set_local $$3
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$1)
- (get_local $$3)
- )
- )
- (i32.store offset=12 align=4
- (get_local $$3)
- (i32.const 0)
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$3
- (i32.add
- (get_local $$3)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$2)
- (get_local $$3)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$1
+ (i32.const 16)
+ )
+ (set_local $$3
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$3)
+ )
+ )
+ (i32.store offset=12 align=4
+ (get_local $$3)
+ (i32.const 0)
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$3)
+ (get_local $$2)
)
)
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$3)
+ )
+ )
+ (return)
)
(func $alloca3264
(local $$0 i32)
(local $$1 i32)
(local $$2 i32)
(local $$3 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 16)
- )
- (set_local $$3
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$1)
- (get_local $$3)
- )
- )
- (i32.store offset=12 align=4
- (get_local $$3)
- (i32.const 0)
- )
- (i64.store align=8
- (get_local $$3)
- (i64.const 0)
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$3
- (i32.add
- (get_local $$3)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$2)
- (get_local $$3)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$1
+ (i32.const 16)
+ )
+ (set_local $$3
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$3)
)
)
+ (i32.store offset=12 align=4
+ (get_local $$3)
+ (i32.const 0)
+ )
+ (i64.store align=8
+ (get_local $$3)
+ (i64.const 0)
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$3)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$3)
+ )
+ )
+ (return)
)
(func $allocarray
(local $$0 i32)
@@ -136,74 +128,70 @@
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 32)
- )
- (set_local $$4
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$1)
- (get_local $$4)
- )
- )
- (set_local $$3
- (i32.const 12)
- )
- (set_local $$3
- (i32.add
- (get_local $$4)
- (get_local $$3)
- )
- )
- (i32.store align=4
- (i32.add
- (get_local $$3)
- (i32.const 12)
- )
- (i32.store offset=12 align=4
- (get_local $$4)
- (i32.const 1)
- )
- )
- (set_local $$2
- (i32.const 32)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$2)
- (get_local $$4)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$1
+ (i32.const 32)
+ )
+ (set_local $$4
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$4)
+ )
+ )
+ (set_local $$3
+ (i32.const 12)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$4)
+ (get_local $$3)
+ )
+ )
+ (i32.store align=4
+ (i32.add
+ (get_local $$3)
+ (i32.const 12)
+ )
+ (i32.store offset=12 align=4
+ (get_local $$4)
+ (i32.const 1)
)
)
+ (set_local $$2
+ (i32.const 32)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$4)
+ )
+ )
+ (return)
)
(func $non_mem_use
(local $$0 i32)
@@ -211,139 +199,127 @@
(local $$2 i32)
(local $$3 i32)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 16)
- )
- (set_local $$4
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$1)
- (get_local $$4)
- )
- )
- (set_local $$3
- (i32.const 8)
- )
- (set_local $$3
- (i32.add
- (get_local $$4)
- (get_local $$3)
- )
- )
- (call_import $ext_func
- (get_local $$3)
- )
- (call_import $ext_func
- (get_local $$4)
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$4
- (i32.add
- (get_local $$4)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$4
- (i32.store align=4
- (get_local $$2)
- (get_local $$4)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
+ )
+ )
+ (set_local $$1
+ (i32.const 16)
+ )
+ (set_local $$4
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$4)
+ )
+ )
+ (set_local $$3
+ (i32.const 8)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$4)
+ (get_local $$3)
+ )
+ )
+ (call_import $ext_func
+ (get_local $$3)
+ )
+ (call_import $ext_func
+ (get_local $$4)
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$4
+ (i32.add
+ (get_local $$4)
+ (get_local $$2)
)
)
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$4
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$4)
+ )
+ )
+ (return)
)
(func $allocarray_inbounds
(local $$0 i32)
(local $$1 i32)
(local $$2 i32)
(local $$3 i32)
- (block $fake_return_waka123
- (block
- (set_local $$0
- (i32.const 1)
- )
- (set_local $$0
- (i32.load align=4
- (get_local $$0)
- )
- )
- (set_local $$1
- (i32.const 32)
- )
- (set_local $$3
- (i32.sub
- (get_local $$0)
- (get_local $$1)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$1)
- (get_local $$3)
- )
- )
- (i32.store offset=24 align=4
- (get_local $$3)
- (i32.store offset=12 align=4
- (get_local $$3)
- (i32.const 1)
- )
- )
- (set_local $$2
- (i32.const 32)
- )
- (set_local $$3
- (i32.add
- (get_local $$3)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$3
- (i32.store align=4
- (get_local $$2)
- (get_local $$3)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$0
+ (i32.const 1)
+ )
+ (set_local $$0
+ (i32.load align=4
+ (get_local $$0)
)
)
- )
- (func $dynamic_alloca (param $$0 i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
+ (set_local $$1
+ (i32.const 32)
+ )
+ (set_local $$3
+ (i32.sub
+ (get_local $$0)
+ (get_local $$1)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$1)
+ (get_local $$3)
)
)
+ (i32.store offset=24 align=4
+ (get_local $$3)
+ (i32.store offset=12 align=4
+ (get_local $$3)
+ (i32.const 1)
+ )
+ )
+ (set_local $$2
+ (i32.const 32)
+ )
+ (set_local $$3
+ (i32.add
+ (get_local $$3)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$3)
+ )
+ )
+ (return)
+ )
+ (func $dynamic_alloca (param $$0 i32)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }
diff --git a/test/llvm_autogenerated/varargs.wast b/test/llvm_autogenerated/varargs.wast
index ff0833b2c..f67b38923 100644
--- a/test/llvm_autogenerated/varargs.wast
+++ b/test/llvm_autogenerated/varargs.wast
@@ -10,74 +10,58 @@
(export "caller_none" $caller_none)
(export "caller_some" $caller_some)
(func $end (param $$0 i32)
- (block $fake_return_waka123
- (block
- (br $fake_return_waka123)
- )
- )
+ (return)
)
(func $copy (param $$0 i32) (param $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (i32.load align=4
- (get_local $$1)
- )
- )
- (br $fake_return_waka123)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.load align=4
+ (get_local $$1)
)
)
+ (return)
)
(func $arg_i8 (param $$0 i32) (result i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (i32.add
- (set_local $$1
- (i32.load align=4
- (get_local $$0)
- )
- )
- (i32.const 4)
- )
- )
- (br $fake_return_waka123
+ (i32.store align=4
+ (get_local $$0)
+ (i32.add
+ (set_local $$1
(i32.load align=4
- (get_local $$1)
+ (get_local $$0)
)
)
+ (i32.const 4)
+ )
+ )
+ (return
+ (i32.load align=4
+ (get_local $$1)
)
)
)
(func $arg_i32 (param $$0 i32) (result i32)
(local $$1 i32)
- (block $fake_return_waka123
- (block
- (i32.store align=4
- (get_local $$0)
- (i32.add
- (set_local $$1
- (i32.and
- (i32.add
- (i32.load align=4
- (get_local $$0)
- )
- (i32.const 3)
- )
- (i32.const -4)
+ (i32.store align=4
+ (get_local $$0)
+ (i32.add
+ (set_local $$1
+ (i32.and
+ (i32.add
+ (i32.load align=4
+ (get_local $$0)
)
+ (i32.const 3)
)
- (i32.const 4)
- )
- )
- (br $fake_return_waka123
- (i32.load align=4
- (get_local $$1)
+ (i32.const -4)
)
)
+ (i32.const 4)
+ )
+ )
+ (return
+ (i32.load align=4
+ (get_local $$1)
)
)
)
@@ -85,63 +69,55 @@
(local $$2 i32)
(local $$3 i64)
(local $$4 i32)
- (block $fake_return_waka123
- (block
- (set_local $$2
- (i32.store align=4
- (get_local $$1)
- (i32.add
- (set_local $$4
- (i32.and
- (i32.add
- (i32.load align=4
- (get_local $$1)
- )
- (i32.const 7)
- )
- (i32.const -8)
+ (set_local $$2
+ (i32.store align=4
+ (get_local $$1)
+ (i32.add
+ (set_local $$4
+ (i32.and
+ (i32.add
+ (i32.load align=4
+ (get_local $$1)
)
+ (i32.const 7)
)
- (i32.const 8)
+ (i32.const -8)
)
)
+ (i32.const 8)
)
- (set_local $$3
- (i64.load align=8
- (get_local $$4)
- )
- )
- (i32.store align=4
- (get_local $$1)
- (i32.add
- (get_local $$4)
- (i32.const 16)
- )
- )
- (i64.store align=8
- (i32.add
- (get_local $$0)
- (i32.const 8)
- )
- (i64.load align=8
- (get_local $$2)
- )
- )
- (i64.store align=8
- (get_local $$0)
- (get_local $$3)
- )
- (br $fake_return_waka123)
)
)
- )
- (func $caller_none
- (block $fake_return_waka123
- (block
- (call_import $callee)
- (br $fake_return_waka123)
+ (set_local $$3
+ (i64.load align=8
+ (get_local $$4)
+ )
+ )
+ (i32.store align=4
+ (get_local $$1)
+ (i32.add
+ (get_local $$4)
+ (i32.const 16)
)
)
+ (i64.store align=8
+ (i32.add
+ (get_local $$0)
+ (i32.const 8)
+ )
+ (i64.load align=8
+ (get_local $$2)
+ )
+ )
+ (i64.store align=8
+ (get_local $$0)
+ (get_local $$3)
+ )
+ (return)
+ )
+ (func $caller_none
+ (call_import $callee)
+ (return)
)
(func $caller_some
(local $$0 i32)
@@ -153,122 +129,118 @@
(local $$6 i32)
(local $$7 i32)
(local $$8 i32)
- (block $fake_return_waka123
- (block
- (set_local $$5
- (i32.const 1)
- )
- (set_local $$5
- (i32.load align=4
- (get_local $$5)
- )
- )
- (set_local $$6
- (i32.const 16)
- )
- (set_local $$8
- (i32.sub
- (get_local $$5)
- (get_local $$6)
- )
- )
- (set_local $$6
- (i32.const 1)
- )
- (set_local $$8
- (i32.store align=4
- (get_local $$6)
- (get_local $$8)
- )
- )
- (set_local $$1
- (i32.const 1)
- )
- (set_local $$1
- (i32.load align=4
- (get_local $$1)
- )
- )
- (set_local $$2
- (i32.const 16)
- )
- (set_local $$8
- (i32.sub
- (get_local $$1)
- (get_local $$2)
- )
- )
- (set_local $$2
- (i32.const 1)
- )
- (set_local $$8
- (i32.store align=4
- (get_local $$2)
- (get_local $$8)
- )
- )
- (i32.store align=4
- (get_local $$8)
- (i32.const 0)
- )
- (set_local $$0
- (i32.add
- (get_local $$8)
- (i32.const 8)
- )
- )
- (i64.store align=8
- (get_local $$0)
- (i64.const 4611686018427387904)
- )
- (call_import $callee)
- (set_local $$3
- (i32.const 1)
- )
- (set_local $$3
- (i32.load align=4
- (get_local $$3)
- )
- )
- (set_local $$4
- (i32.const 16)
- )
- (set_local $$8
- (i32.add
- (get_local $$3)
- (get_local $$4)
- )
- )
- (set_local $$4
- (i32.const 1)
- )
- (set_local $$8
- (i32.store align=4
- (get_local $$4)
- (get_local $$8)
- )
- )
- (set_local $$7
- (i32.const 16)
- )
- (set_local $$8
- (i32.add
- (get_local $$8)
- (get_local $$7)
- )
- )
- (set_local $$7
- (i32.const 1)
- )
- (set_local $$8
- (i32.store align=4
- (get_local $$7)
- (get_local $$8)
- )
- )
- (br $fake_return_waka123)
+ (set_local $$5
+ (i32.const 1)
+ )
+ (set_local $$5
+ (i32.load align=4
+ (get_local $$5)
+ )
+ )
+ (set_local $$6
+ (i32.const 16)
+ )
+ (set_local $$8
+ (i32.sub
+ (get_local $$5)
+ (get_local $$6)
+ )
+ )
+ (set_local $$6
+ (i32.const 1)
+ )
+ (set_local $$8
+ (i32.store align=4
+ (get_local $$6)
+ (get_local $$8)
+ )
+ )
+ (set_local $$1
+ (i32.const 1)
+ )
+ (set_local $$1
+ (i32.load align=4
+ (get_local $$1)
+ )
+ )
+ (set_local $$2
+ (i32.const 16)
+ )
+ (set_local $$8
+ (i32.sub
+ (get_local $$1)
+ (get_local $$2)
+ )
+ )
+ (set_local $$2
+ (i32.const 1)
+ )
+ (set_local $$8
+ (i32.store align=4
+ (get_local $$2)
+ (get_local $$8)
+ )
+ )
+ (i32.store align=4
+ (get_local $$8)
+ (i32.const 0)
+ )
+ (set_local $$0
+ (i32.add
+ (get_local $$8)
+ (i32.const 8)
+ )
+ )
+ (i64.store align=8
+ (get_local $$0)
+ (i64.const 4611686018427387904)
+ )
+ (call_import $callee)
+ (set_local $$3
+ (i32.const 1)
+ )
+ (set_local $$3
+ (i32.load align=4
+ (get_local $$3)
+ )
+ )
+ (set_local $$4
+ (i32.const 16)
+ )
+ (set_local $$8
+ (i32.add
+ (get_local $$3)
+ (get_local $$4)
+ )
+ )
+ (set_local $$4
+ (i32.const 1)
+ )
+ (set_local $$8
+ (i32.store align=4
+ (get_local $$4)
+ (get_local $$8)
+ )
+ )
+ (set_local $$7
+ (i32.const 16)
+ )
+ (set_local $$8
+ (i32.add
+ (get_local $$8)
+ (get_local $$7)
+ )
+ )
+ (set_local $$7
+ (i32.const 1)
+ )
+ (set_local $$8
+ (i32.store align=4
+ (get_local $$7)
+ (get_local $$8)
)
)
+ (return)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 4 }