diff options
author | Derek Schuff <dschuff@chromium.org> | 2024-12-06 12:34:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 20:34:19 +0000 |
commit | 729ea41d145d369b203dca6f70b251ea365cb3d0 (patch) | |
tree | 269217c2d17d6e8a4a59eb6b822aa4cdac17aa28 /test/lit/help/wasm-ctor-eval.test | |
parent | 3f82ffc70362bf967d91d3cb56ee4c8c5ebe1161 (diff) | |
download | binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.tar.gz binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.tar.bz2 binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.zip |
Add bulk-memory-opt feature and ignore call-indirect-overlong (#7139)
LLVM recently split the bulk-memory-opt feature out from bulk-memory,
containing just memory.copy and memory.fill. This change follows that,
making bulk-memory-opt also enabled when all of bulk-memory is enabled.
It also introduces call-indirect-overlong following LLVM, but ignores
it, since Binaryen has always allowed the encoding (i.e. command
line flags enabling or disabling the feature are accepted but
ignored).
Diffstat (limited to 'test/lit/help/wasm-ctor-eval.test')
-rw-r--r-- | test/lit/help/wasm-ctor-eval.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lit/help/wasm-ctor-eval.test b/test/lit/help/wasm-ctor-eval.test index abb80b12e..06e2c4a0d 100644 --- a/test/lit/help/wasm-ctor-eval.test +++ b/test/lit/help/wasm-ctor-eval.test @@ -71,6 +71,18 @@ ;; CHECK-NEXT: ;; CHECK-NEXT: --disable-bulk-memory Disable bulk memory operations ;; CHECK-NEXT: +;; CHECK-NEXT: --enable-bulk-memory-opt Enable memory.copy and memory.fill +;; CHECK-NEXT: +;; CHECK-NEXT: --disable-bulk-memory-opt Disable memory.copy and memory.fill +;; CHECK-NEXT: +;; CHECK-NEXT: --enable-call-indirect-overlong Enable LEB encoding of call-indirect +;; CHECK-NEXT: (Ignored for compatibility as it has no +;; CHECK-NEXT: effect on Binaryen) +;; CHECK-NEXT: +;; CHECK-NEXT: --disable-call-indirect-overlong Disable LEB encoding of call-indirect +;; CHECK-NEXT: (Ignored for compatibility as it has no +;; CHECK-NEXT: effect on Binaryen) +;; CHECK-NEXT: ;; CHECK-NEXT: --enable-exception-handling Enable exception handling operations ;; CHECK-NEXT: ;; CHECK-NEXT: --disable-exception-handling Disable exception handling operations |