diff options
author | Thomas Lively <tlively@google.com> | 2023-04-14 17:11:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 17:11:16 -0700 |
commit | 56fe22d30ddd4deac619e41824fc69079dcd7a47 (patch) | |
tree | 56224580a5baae55d4d75c6259431e229bed66b7 /test/lit/passes/optimize-instructions-call_ref-roundtrip.wast | |
parent | ec903fdbbf1303968344c58733521a0b6b0ea710 (diff) | |
download | binaryen-56fe22d30ddd4deac619e41824fc69079dcd7a47.tar.gz binaryen-56fe22d30ddd4deac619e41824fc69079dcd7a47.tar.bz2 binaryen-56fe22d30ddd4deac619e41824fc69079dcd7a47.zip |
Port the remaining test/lit/passes tests off of --nominal (#5668)
Diffstat (limited to 'test/lit/passes/optimize-instructions-call_ref-roundtrip.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-call_ref-roundtrip.wast | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/test/lit/passes/optimize-instructions-call_ref-roundtrip.wast b/test/lit/passes/optimize-instructions-call_ref-roundtrip.wast index de4d0da6f..0e59d6df3 100644 --- a/test/lit/passes/optimize-instructions-call_ref-roundtrip.wast +++ b/test/lit/passes/optimize-instructions-call_ref-roundtrip.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: wasm-opt %s --optimize-instructions --nominal --roundtrip --all-features -S -o - | filecheck %s +;; RUN: wasm-opt %s --optimize-instructions --roundtrip --all-features -S -o - | filecheck %s ;; roundtrip to see the effects on heap types in the binary format, specifically ;; regarding nominal heap types @@ -10,14 +10,17 @@ ;; distinct nominally. The three tables will use different ones, and the ;; emitted call_indirects should use the corresponding ones. - ;; CHECK: (type $v1 (func)) - (type $v1 (func)) + (rec + ;; CHECK: (rec + ;; CHECK-NEXT: (type $v1 (func)) + (type $v1 (func)) - ;; CHECK: (type $v2 (func)) - (type $v2 (func)) + ;; CHECK: (type $v2 (func)) + (type $v2 (func)) - ;; CHECK: (type $v3 (func)) - (type $v3 (func)) + ;; CHECK: (type $v3 (func)) + (type $v3 (func)) + ) ;; CHECK: (type $i32_=>_none (func (param i32))) |