diff options
Diffstat (limited to 'test/lit/passes')
-rw-r--r-- | test/lit/passes/instrument-locals_all-features_disable-gc.wast (renamed from test/lit/passes/instrument-locals_all-features_disable-typed-function-references.wast) | 2 | ||||
-rw-r--r-- | test/lit/passes/merge-similar-functions.wast | 2 | ||||
-rw-r--r-- | test/lit/passes/optimize-instructions-typed-function-references.wast | 17 |
3 files changed, 2 insertions, 19 deletions
diff --git a/test/lit/passes/instrument-locals_all-features_disable-typed-function-references.wast b/test/lit/passes/instrument-locals_all-features_disable-gc.wast index 70ccf3364..f9cd16486 100644 --- a/test/lit/passes/instrument-locals_all-features_disable-typed-function-references.wast +++ b/test/lit/passes/instrument-locals_all-features_disable-gc.wast @@ -1,7 +1,7 @@ ;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited. ;; NOTE: This test was ported using port_passes_tests_to_lit.py and could be cleaned up. -;; RUN: foreach %s %t wasm-opt --instrument-locals --all-features --disable-typed-function-references -S -o - | filecheck %s +;; RUN: foreach %s %t wasm-opt --instrument-locals --all-features --disable-gc -S -o - | filecheck %s (module ;; CHECK: (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32))) diff --git a/test/lit/passes/merge-similar-functions.wast b/test/lit/passes/merge-similar-functions.wast index bb7d82dfc..ec3239e7b 100644 --- a/test/lit/passes/merge-similar-functions.wast +++ b/test/lit/passes/merge-similar-functions.wast @@ -1,5 +1,5 @@ ;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited. -;; RUN: foreach %s %t wasm-opt --enable-reference-types --enable-typed-function-references --merge-similar-functions -S -o - | filecheck %s +;; RUN: foreach %s %t wasm-opt --enable-reference-types --enable-gc --merge-similar-functions -S -o - | filecheck %s (module ;; CHECK: (type $none_=>_i32 (func (result i32))) diff --git a/test/lit/passes/optimize-instructions-typed-function-references.wast b/test/lit/passes/optimize-instructions-typed-function-references.wast deleted file mode 100644 index 418195b48..000000000 --- a/test/lit/passes/optimize-instructions-typed-function-references.wast +++ /dev/null @@ -1,17 +0,0 @@ -;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited. -;; RUN: wasm-opt %s --optimize-instructions --enable-reference-types \ -;; RUN: --enable-typed-function-references -S -o - | filecheck %s - -(module - ;; CHECK: (type $i32-i32 (func (param i32) (result i32))) - (type $i32-i32 (func (param i32) (result i32))) - ;; this function has a reference parameter. we analyze parameters, and should - ;; not be confused by a type that has no bit size, in particular. this test - ;; just verifies that we do not crash on that. - ;; CHECK: (func $call_from-param (param $f (ref null $i32-i32)) (result i32) - ;; CHECK-NEXT: (unreachable) - ;; CHECK-NEXT: ) - (func $call_from-param (param $f (ref null $i32-i32)) (result i32) - (unreachable) - ) -) |