summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/interesting-pass-mix.txt4
-rw-r--r--test/passes/remove-unused-brs_enable-multivalue.txt7
2 files changed, 6 insertions, 5 deletions
diff --git a/test/passes/interesting-pass-mix.txt b/test/passes/interesting-pass-mix.txt
index c37414599..fc1993dfd 100644
--- a/test/passes/interesting-pass-mix.txt
+++ b/test/passes/interesting-pass-mix.txt
@@ -17,8 +17,7 @@
(i32.const 1)
)
(func $ifs (param $0 i32) (result i32)
- (if (result i32)
- (local.get $0)
+ (select
(select
(i32.const 2)
(i32.const 3)
@@ -29,6 +28,7 @@
(i32.const 5)
(local.get $0)
)
+ (local.get $0)
)
)
(func $loops (param $0 i32)
diff --git a/test/passes/remove-unused-brs_enable-multivalue.txt b/test/passes/remove-unused-brs_enable-multivalue.txt
index 6cbfe2373..7d5b0e7fd 100644
--- a/test/passes/remove-unused-brs_enable-multivalue.txt
+++ b/test/passes/remove-unused-brs_enable-multivalue.txt
@@ -2329,9 +2329,8 @@
(i32.const 0)
)
(func $ifs-copies-recursive (param $20 i32) (result i32)
- (if
- (i32.const 1)
- (local.set $20
+ (local.set $20
+ (select
(select
(select
(i32.const 4)
@@ -2341,6 +2340,8 @@
(local.get $20)
(i32.const 2)
)
+ (local.get $20)
+ (i32.const 1)
)
)
(local.get $20)