[PATCH] D73943: [WebAssembly] Make stack pointer args inhibit tail calls

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 21:52:16 PST 2020


tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: llvm-commits, sunfish, hiraditya, jgravelle-google, sbc100.
Herald added a project: LLVM.

Also make return calls terminator instructions so epilogues are
inserted before them rather than after them. Together, these changes
make WebAssembly's tail call optimization more stack-safe.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73943

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
  llvm/test/CodeGen/WebAssembly/tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73943.242255.patch
Type: text/x-patch
Size: 5245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/4007005b/attachment.bin>


More information about the llvm-commits mailing list