[PATCH] D62877: [WebAssembly] Implement tail calls and unify tablegen call classes

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 13:32:48 PDT 2019


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

Implements direct and indirect tail calls enabled by the 'tail-call'
feature in both DAG ISel and FastISel. Updates existing call tests and
adds new tests including a binary encoding test.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62877

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISD.def
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
  llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
  llvm/test/CodeGen/WebAssembly/call.ll
  llvm/test/CodeGen/WebAssembly/tailcall.ll
  llvm/test/DebugInfo/WebAssembly/dbg-value-move-reg-stackify.mir
  llvm/test/MC/WebAssembly/tail-call-encodings.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62877.203009.patch
Type: text/x-patch
Size: 31595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/c1018a0b/attachment-0001.bin>


More information about the llvm-commits mailing list