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)
commite428ba798e3174dcd0aa9e17c40426f4bbe80676
treecc8b9081dcee573011fe71a2a8820ea039ecb591
parent14ec817aea1932764b107773c39912878c2affa9
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243822 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyInstrControl.td
lib/Target/WebAssembly/WebAssemblyInstrInfo.td
test/CodeGen/WebAssembly/integer.ll [deleted file]
test/CodeGen/WebAssembly/integer32.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/integer64.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/return-void.ll
test/CodeGen/WebAssembly/unused-argument.ll