From 729ea41d145d369b203dca6f70b251ea365cb3d0 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Fri, 6 Dec 2024 12:34:19 -0800 Subject: 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). --- test/lit/help/wasm-split.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/lit/help/wasm-split.test') diff --git a/test/lit/help/wasm-split.test b/test/lit/help/wasm-split.test index e5e736562..04d741421 100644 --- a/test/lit/help/wasm-split.test +++ b/test/lit/help/wasm-split.test @@ -196,6 +196,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 -- cgit v1.2.3