summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/precompute.txt6
-rw-r--r--test/passes/precompute.wast5
2 files changed, 11 insertions, 0 deletions
diff --git a/test/passes/precompute.txt b/test/passes/precompute.txt
index 1c060fbef..b199da603 100644
--- a/test/passes/precompute.txt
+++ b/test/passes/precompute.txt
@@ -3,6 +3,7 @@
(type $1 (func (result i32)))
(type $2 (func))
(type $3 (func (result f64)))
+ (type $4 (func (result v128)))
(memory $0 0)
(global $global i32 (i32.const 1))
(global $global-mut (mut i32) (i32.const 2))
@@ -211,4 +212,9 @@
(i32.const 2)
)
)
+ (func $no-simd-precompute (; 11 ;) (type $4) (result v128)
+ (i32x4.splat
+ (i32.const 0)
+ )
+ )
)
diff --git a/test/passes/precompute.wast b/test/passes/precompute.wast
index 2c87d3706..54c8cf6d2 100644
--- a/test/passes/precompute.wast
+++ b/test/passes/precompute.wast
@@ -306,4 +306,9 @@
)
)
)
+ (func $no-simd-precompute (result v128)
+ (i32x4.splat
+ (i32.const 0)
+ )
+ )
)