From ec88ea6df0925ae0e648b26d327239e946de48a6 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 6 Jun 2022 13:24:11 -0700 Subject: Restore and fix SpillPointers pass (#4570) We have some possible use cases for this pass, and so are restoring it. This reverts the removal in #3261, fixes compile errors in internal API changes since then, and flips the direction of the stack for the wasm backend. --- test/lit/help/wasm2js.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/lit/help/wasm2js.test') diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test index 5c0f249e3..917b8750a 100644 --- a/test/lit/help/wasm2js.test +++ b/test/lit/help/wasm2js.test @@ -346,6 +346,9 @@ ;; CHECK-NEXT: --souperify-single-use emit Souper IR in text form ;; CHECK-NEXT: (single-use nodes only) ;; CHECK-NEXT: +;; CHECK-NEXT: --spill-pointers spill pointers to the C stack +;; CHECK-NEXT: (useful for Boehm-style GC) +;; CHECK-NEXT: ;; CHECK-NEXT: --ssa ssa-ify variables so that they ;; CHECK-NEXT: have a single assignment ;; CHECK-NEXT: -- cgit v1.2.3