diff options
| author | Thomas Lively <tlively@google.com> | 2019-06-26 16:17:15 +0000 |
|---|---|---|
| committer | Thomas Lively <tlively@google.com> | 2019-06-26 16:17:15 +0000 |
| commit | a1d97a960e622ee21550d92809512cb0870be499 (patch) | |
| tree | 678b01b3a42a707b3be32cf74c635072c14f74da /llvm/lib/Target/WebAssembly/WebAssemblyISD.def | |
| parent | c95046501dc2cb535a82c38a5c004a6eddd33e00 (diff) | |
| download | bcm5719-llvm-a1d97a960e622ee21550d92809512cb0870be499.tar.gz bcm5719-llvm-a1d97a960e622ee21550d92809512cb0870be499.zip | |
[WebAssembly] Implement tail calls and unify tablegen call classes
Summary:
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.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62877
llvm-svn: 364445
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISD.def')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISD.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISD.def b/llvm/lib/Target/WebAssembly/WebAssemblyISD.def index af5fcd8c09c..77217f16a72 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISD.def +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISD.def @@ -15,6 +15,7 @@ HANDLE_NODETYPE(CALL1) HANDLE_NODETYPE(CALL0) +HANDLE_NODETYPE(RET_CALL) HANDLE_NODETYPE(RETURN) HANDLE_NODETYPE(ARGUMENT) // A wrapper node for TargetExternalSymbol, TargetGlobalAddress, and MCSymbol |

