[PATCH] D65463: [WebAssembly] Fix conflict between ret legalization and sjlj

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 11:56:38 PDT 2019


tlively accepted this revision.
tlively added a comment.
This revision is now accepted and ready to land.

LGTM with a small test format change.



================
Comment at: llvm/test/CodeGen/WebAssembly/lower-em-sjlj-sret.ll:25
+; CHECK-NEXT:	i32.add
+; CHECK-NEXT:	call	"__invoke_{i32.i32}"
+  %ret = call {i32, i32} @returns_struct()
----------------
You can pass `-wasm-keep-registers` to llc to keep the output in SSA form, which usually is more readable in tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65463/new/

https://reviews.llvm.org/D65463





More information about the llvm-commits mailing list