summaryrefslogtreecommitdiff
path: root/test/lit
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-11-15 16:41:53 -0800
committerGitHub <noreply@github.com>2021-11-16 00:41:53 +0000
commit5d398d5c9305272b971322d728c4628b38c5669c (patch)
tree6536bfe9a2f9f9bc3ca81841811428f040fa4958 /test/lit
parent52696625d003f80a8ae77150b6f1e626e9d98e57 (diff)
downloadbinaryen-5d398d5c9305272b971322d728c4628b38c5669c.tar.gz
binaryen-5d398d5c9305272b971322d728c4628b38c5669c.tar.bz2
binaryen-5d398d5c9305272b971322d728c4628b38c5669c.zip
[NFC] HeapRefining => TypeRefining (#4332)
Diffstat (limited to 'test/lit')
-rw-r--r--test/lit/help/optimization-opts.test6
-rw-r--r--test/lit/passes/type-refining.wast (renamed from test/lit/passes/heap-subtyping.wast)2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/help/optimization-opts.test b/test/lit/help/optimization-opts.test
index 1f52b2462..af23314de 100644
--- a/test/lit/help/optimization-opts.test
+++ b/test/lit/help/optimization-opts.test
@@ -277,9 +277,6 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --gto globally optimize GC types
;; CHECK-NEXT:
-;; CHECK-NEXT: --heap-refining apply more specific subtypes to
-;; CHECK-NEXT: type fields where possible
-;; CHECK-NEXT:
;; CHECK-NEXT: --heap2local replace GC allocations with
;; CHECK-NEXT: locals
;; CHECK-NEXT:
@@ -522,6 +519,9 @@
;; CHECK-NEXT: --trap-mode-js replace trapping operations with
;; CHECK-NEXT: js semantics
;; CHECK-NEXT:
+;; CHECK-NEXT: --type-refining apply more specific subtypes to
+;; CHECK-NEXT: type fields where possible
+;; CHECK-NEXT:
;; CHECK-NEXT: --untee removes local.tees, replacing
;; CHECK-NEXT: them with sets and gets
;; CHECK-NEXT:
diff --git a/test/lit/passes/heap-subtyping.wast b/test/lit/passes/type-refining.wast
index 1a42d36a8..38a6319f3 100644
--- a/test/lit/passes/heap-subtyping.wast
+++ b/test/lit/passes/type-refining.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 --nominal --heap-refining -all -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt --nominal --type-refining -all -S -o - | filecheck %s
(module
;; A struct with three fields. The first will have no writes, the second one