summaryrefslogtreecommitdiff
path: root/test/lit/passes/remove-unused-brs.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/remove-unused-brs.wast')
-rw-r--r--test/lit/passes/remove-unused-brs.wast6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lit/passes/remove-unused-brs.wast b/test/lit/passes/remove-unused-brs.wast
index a43601654..089d82391 100644
--- a/test/lit/passes/remove-unused-brs.wast
+++ b/test/lit/passes/remove-unused-brs.wast
@@ -4,7 +4,9 @@
(module
+ ;; CHECK: (type $none_=>_i32 (func (result i32)))
(type $none_=>_i32 (func (result i32)))
+ ;; CHECK: (type $i32_=>_none (func (param i32)))
(type $i32_=>_none (func (param i32)))
;; Regression test in which we need to calculate a proper LUB.
@@ -54,8 +56,12 @@
)
)
+ ;; CHECK: (func $nothing
+ ;; CHECK-NEXT: (nop)
+ ;; CHECK-NEXT: )
(func $nothing)
+
;; CHECK: (func $restructure-br_if-condition-reorderable (param $x i32) (result i32)
;; CHECK-NEXT: (if (result i32)
;; CHECK-NEXT: (block $block (result i32)