WebAssembly: handle more than int32 argument/return
authorJF Bastien <jfb@google.com>
Sat, 1 Aug 2015 04:48:44 +0000 (04:48 +0000)
committerJF Bastien <jfb@google.com>
Sat, 1 Aug 2015 04:48:44 +0000 (04:48 +0000)
commit8f9aea08d4c6c4b702bb57227ab00191c02b2847
treeb67d315477b1068506189ce81ec20d7fb13d6d17
parentde4e539aba1ffc00c930a9de6a12a2658df9a1d7
WebAssembly: handle more than int32 argument/return

Summary: Also test 64-bit integers, except shifts for now which are broken because isel dislikes the 32-bit truncate that precedes them.

Reviewers: sunfish

Subscribers: llvm-commits, jfb

Differential Revision: http://reviews.llvm.org/D11699

llvm-svn: 243822
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
llvm/test/CodeGen/WebAssembly/integer32.ll [moved from llvm/test/CodeGen/WebAssembly/integer.ll with 88% similarity]
llvm/test/CodeGen/WebAssembly/integer64.ll [new file with mode: 0644]
llvm/test/CodeGen/WebAssembly/return-void.ll
llvm/test/CodeGen/WebAssembly/unused-argument.ll