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.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/passes/optimize-instructions_all-features.txt b/test/passes/optimize-instructions_all-features.txt
index 93f4c3087..edebe0bc2 100644
--- a/test/passes/optimize-instructions_all-features.txt
+++ b/test/passes/optimize-instructions_all-features.txt
@@ -23,6 +23,36 @@
(memory $0 0)
(export "load-off-2" (func $load-off-2))
(func $f (param $i1 i32) (param $i2 i64)
+ (drop
+ (i32.and
+ (local.get $i1)
+ (i32.const 1)
+ )
+ )
+ (drop
+ (i32.or
+ (local.get $i1)
+ (i32.const 3)
+ )
+ )
+ (drop
+ (i32.xor
+ (local.get $i1)
+ (i32.const 5)
+ )
+ )
+ (drop
+ (i32.mul
+ (local.get $i1)
+ (i32.const -10)
+ )
+ )
+ (drop
+ (i32.mul
+ (local.get $i1)
+ (i32.const -133169153)
+ )
+ )
(if
(i32.eqz
(local.get $i1)