summaryrefslogtreecommitdiff
path: root/test/passes/optimize-instructions_all-features.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/optimize-instructions_all-features.txt')
-rw-r--r--test/passes/optimize-instructions_all-features.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/passes/optimize-instructions_all-features.txt b/test/passes/optimize-instructions_all-features.txt
index a093fbffa..677b220cb 100644
--- a/test/passes/optimize-instructions_all-features.txt
+++ b/test/passes/optimize-instructions_all-features.txt
@@ -969,6 +969,19 @@
(i32.const 0)
)
)
+ (drop
+ (if (result i32)
+ (i32.shr_s
+ (i32.shl
+ (unreachable)
+ (i32.const 16)
+ )
+ (i32.const 16)
+ )
+ (i32.const 111)
+ (i32.const 222)
+ )
+ )
)
(func $sign-ext-input (param $0 i32) (param $1 i32)
(drop