summaryrefslogtreecommitdiff
path: root/test/lit/passes/inlining_splitting.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-09-27 16:13:48 -0700
committerGitHub <noreply@github.com>2021-09-27 16:13:48 -0700
commita34746c6708cd3e9d0c6ae554cd6bd40d43bb5b8 (patch)
tree9748125f12935863df63c1d9df64a9b290e3ea8c /test/lit/passes/inlining_splitting.wast
parent11552aef2a36cb90c0d7087644871777cc4a0ef7 (diff)
downloadbinaryen-a34746c6708cd3e9d0c6ae554cd6bd40d43bb5b8.tar.gz
binaryen-a34746c6708cd3e9d0c6ae554cd6bd40d43bb5b8.tar.bz2
binaryen-a34746c6708cd3e9d0c6ae554cd6bd40d43bb5b8.zip
Disable partial inlining by default and add a flag for it. (#4191)
Locally I saw a 10% speedup on j2cl but reports of regressions have arrived, so let's disable it for now pending investigation. The option added here should make it easy to experiment.
Diffstat (limited to 'test/lit/passes/inlining_splitting.wast')
-rw-r--r--test/lit/passes/inlining_splitting.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/passes/inlining_splitting.wast b/test/lit/passes/inlining_splitting.wast
index 98168527a..599bb9cc6 100644
--- a/test/lit/passes/inlining_splitting.wast
+++ b/test/lit/passes/inlining_splitting.wast
@@ -1,6 +1,6 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
-;; RUN: foreach %s %t wasm-opt --inlining --optimize-level=3 --all-features -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt --inlining --optimize-level=3 --partial-inlining-ifs=4 --all-features -S -o - | filecheck %s
(module
;; CHECK: (type $none_=>_none (func))