diff options
Diffstat (limited to 'test/lit/passes/roundtrip-gc.wast')
-rw-r--r-- | test/lit/passes/roundtrip-gc.wast | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/lit/passes/roundtrip-gc.wast b/test/lit/passes/roundtrip-gc.wast index 7a22d7ec3..9f5971b83 100644 --- a/test/lit/passes/roundtrip-gc.wast +++ b/test/lit/passes/roundtrip-gc.wast @@ -1,11 +1,9 @@ ;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited. ;; RUN: wasm-opt %s -all --generate-stack-ir --optimize-stack-ir --roundtrip -S -o - | filecheck %s -;; RUN: wasm-opt %s -all --generate-stack-ir --optimize-stack-ir --roundtrip --nominal -S -o - | filecheck %s --check-prefix NOMNL (module (type ${i32} (struct (field i32))) ;; CHECK: (export "export" (func $test)) - ;; NOMNL: (export "export" (func $test)) (export "export" (func $test)) ;; CHECK: (func $test (type $none_=>_none) ;; CHECK-NEXT: (local $0 (ref $\7bi32\7d)) @@ -20,19 +18,6 @@ ;; CHECK-NEXT: (i32.const 1) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) - ;; NOMNL: (func $test (type $none_=>_none) - ;; NOMNL-NEXT: (local $0 (ref $\7bi32\7d)) - ;; NOMNL-NEXT: (call $help - ;; NOMNL-NEXT: (block (result (ref $\7bi32\7d)) - ;; NOMNL-NEXT: (local.set $0 - ;; NOMNL-NEXT: (struct.new_default $\7bi32\7d) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (nop) - ;; NOMNL-NEXT: (local.get $0) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (i32.const 1) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: ) (func $test (call $help (struct.new_default ${i32}) @@ -49,9 +34,6 @@ ;; CHECK: (func $help (type $ref|$\7bi32\7d|_i32_=>_none) (param $3 (ref $\7bi32\7d)) (param $4 i32) ;; CHECK-NEXT: (nop) ;; CHECK-NEXT: ) - ;; NOMNL: (func $help (type $ref|$\7bi32\7d|_i32_=>_none) (param $3 (ref $\7bi32\7d)) (param $4 i32) - ;; NOMNL-NEXT: (nop) - ;; NOMNL-NEXT: ) (func $help (param $3 (ref ${i32})) (param $4 i32) (nop) ) |