summaryrefslogtreecommitdiff
path: root/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt')
-rw-r--r--test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt34
1 files changed, 14 insertions, 20 deletions
diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt
index b9624c55d..e37b8289a 100644
--- a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt
+++ b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_optimize-level=3.txt
@@ -1084,7 +1084,7 @@
)
(func $unreachable-block (; has Stack IR ;) (result i32)
(f64.abs
- (block $block
+ (block
(drop
(i32.const 1)
)
@@ -1095,18 +1095,16 @@
)
)
(func $unreachable-block-toplevel (; has Stack IR ;) (result i32)
- (block $block
- (drop
- (i32.const 1)
- )
- (return
- (i32.const 2)
- )
+ (drop
+ (i32.const 1)
+ )
+ (return
+ (i32.const 2)
)
)
(func $unreachable-block0 (; has Stack IR ;) (result i32)
(f64.abs
- (block $block
+ (block
(return
(i32.const 2)
)
@@ -1114,10 +1112,8 @@
)
)
(func $unreachable-block0-toplevel (; has Stack IR ;) (result i32)
- (block $block
- (return
- (i32.const 2)
- )
+ (return
+ (i32.const 2)
)
)
(func $unreachable-block-with-br (; has Stack IR ;) (result i32)
@@ -1235,10 +1231,8 @@
(func $unreachable-if-arm (; has Stack IR ;)
(if
(i32.const 1)
- (block $block
- (nop)
- )
- (block $block12
+ (nop)
+ (block
(unreachable)
(drop
(i32.const 1)
@@ -1552,7 +1546,7 @@
(local $temp1 i32)
(if
(i32.const 0)
- (block $block
+ (block
(local.set $temp1
(call $local-to-stack-multi-4
(i32.const 0)
@@ -1562,7 +1556,7 @@
(local.get $temp1)
)
)
- (block $block13
+ (block
(local.set $temp1
(call $local-to-stack-multi-4
(i32.const 1)
@@ -1581,7 +1575,7 @@
(i32.const 0)
)
(i32.eqz
- (block $block (result i32)
+ (block (result i32)
(local.set $temp
(call $remove-block
(i32.const 1)