summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-11-15 16:17:15 -0800
committerGitHub <noreply@github.com>2021-11-16 00:17:15 +0000
commit52696625d003f80a8ae77150b6f1e626e9d98e57 (patch)
tree10ee67f40811f1c333ef7c954856de8214605dbd /test
parent3549e3040340c706349b1ee9ab3e994279805afc (diff)
downloadbinaryen-52696625d003f80a8ae77150b6f1e626e9d98e57.tar.gz
binaryen-52696625d003f80a8ae77150b6f1e626e9d98e57.tar.bz2
binaryen-52696625d003f80a8ae77150b6f1e626e9d98e57.zip
[NFC] Rename GlobalSubtyping => HeapRefining (#4331)
Diffstat (limited to 'test')
-rw-r--r--test/lit/help/optimization-opts.test6
-rw-r--r--test/lit/passes/heap-subtyping.wast (renamed from test/lit/passes/global-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 380101a53..1f52b2462 100644
--- a/test/lit/help/optimization-opts.test
+++ b/test/lit/help/optimization-opts.test
@@ -275,11 +275,11 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-stack-ir generate Stack IR
;; CHECK-NEXT:
-;; CHECK-NEXT: --global-subtyping apply more specific subtypes to
-;; CHECK-NEXT: type fields where possible
-;; 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:
diff --git a/test/lit/passes/global-subtyping.wast b/test/lit/passes/heap-subtyping.wast
index 5c05ac753..1a42d36a8 100644
--- a/test/lit/passes/global-subtyping.wast
+++ b/test/lit/passes/heap-subtyping.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 --global-subtyping -all -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt --nominal --heap-refining -all -S -o - | filecheck %s
(module
;; A struct with three fields. The first will have no writes, the second one