summaryrefslogtreecommitdiff
path: root/test/passes/precompute_all-features.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-07-13 15:00:20 -0700
committerGitHub <noreply@github.com>2021-07-13 15:00:20 -0700
commitb68691e826a46d1b03b27c552b1f5b7f51f92665 (patch)
tree4f852ce51315e86e1bd2600af85fba7940f34a54 /test/passes/precompute_all-features.wast
parentaafd1bf1be09d6368127f9878ab1779cc258f526 (diff)
downloadbinaryen-b68691e826a46d1b03b27c552b1f5b7f51f92665.tar.gz
binaryen-b68691e826a46d1b03b27c552b1f5b7f51f92665.tar.bz2
binaryen-b68691e826a46d1b03b27c552b1f5b7f51f92665.zip
Partially fix Precompute on SIMD (#3983)
We had the logic in only one place.
Diffstat (limited to 'test/passes/precompute_all-features.wast')
-rw-r--r--test/passes/precompute_all-features.wast7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/passes/precompute_all-features.wast b/test/passes/precompute_all-features.wast
index 1275524e0..e306be495 100644
--- a/test/passes/precompute_all-features.wast
+++ b/test/passes/precompute_all-features.wast
@@ -329,6 +329,13 @@
(i32.const 0)
)
)
+ (func $no-simd-precompute_2 (result v128)
+ (i32x4.extadd_pairwise_i16x8_s
+ (i32x4.splat
+ (i32.const 0)
+ )
+ )
+ )
(func $no-simd-precompute-if (result v128)
(return
(i32x4.splat