diff options
author | Alon Zakai <azakai@google.com> | 2021-09-27 16:13:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 16:13:48 -0700 |
commit | a34746c6708cd3e9d0c6ae554cd6bd40d43bb5b8 (patch) | |
tree | 9748125f12935863df63c1d9df64a9b290e3ea8c /test/lit/help/optimization-opts.test | |
parent | 11552aef2a36cb90c0d7087644871777cc4a0ef7 (diff) | |
download | binaryen-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/help/optimization-opts.test')
-rw-r--r-- | test/lit/help/optimization-opts.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit/help/optimization-opts.test b/test/lit/help/optimization-opts.test index 75e1d72a3..22a730128 100644 --- a/test/lit/help/optimization-opts.test +++ b/test/lit/help/optimization-opts.test @@ -160,6 +160,11 @@ ;; CHECK-NEXT: --inline-functions-with-loops,-ifwl Allow inlining functions with ;; CHECK-NEXT: loops ;; CHECK-NEXT: +;; CHECK-NEXT: --partial-inlining-ifs,-pii Number of ifs allowed in partial +;; CHECK-NEXT: inlining (zero means partial +;; CHECK-NEXT: inlining is disabled) (default: +;; CHECK-NEXT: 0) +;; CHECK-NEXT: ;; CHECK-NEXT: --ignore-implicit-traps,-iit Optimize under the helpful ;; CHECK-NEXT: assumption that no surprising ;; CHECK-NEXT: traps occur (from load, div/mod, |