WebAssembly: emit `(func (param t) (result t))` s-expressions
authorJF Bastien <jfb@google.com>
Tue, 25 Aug 2015 22:58:05 +0000 (22:58 +0000)
committerJF Bastien <jfb@google.com>
Tue, 25 Aug 2015 22:58:05 +0000 (22:58 +0000)
commit0118969fbdfe23849d73bba2df8e8f4a84d8b233
tree7602d127582e43fc786db1e24d422de9ae3d8e57
parent42e1a86e8103dcfc51e685f01e0a5a90ee11f27b
WebAssembly: emit `(func (param t) (result t))` s-expressions

Summary: Match spec format: https://github.com/WebAssembly/spec/blob/master/ml-proto/test/fac.wasm

Reviewers: sunfish

Subscribers: llvm-commits, jfb

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245986 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
test/CodeGen/WebAssembly/call.ll
test/CodeGen/WebAssembly/comparisons_f32.ll
test/CodeGen/WebAssembly/comparisons_f64.ll
test/CodeGen/WebAssembly/comparisons_i32.ll
test/CodeGen/WebAssembly/comparisons_i64.ll
test/CodeGen/WebAssembly/fast-isel.ll
test/CodeGen/WebAssembly/fp32.ll
test/CodeGen/WebAssembly/fp64.ll
test/CodeGen/WebAssembly/func.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/globl.ll
test/CodeGen/WebAssembly/immediates.ll
test/CodeGen/WebAssembly/integer32.ll
test/CodeGen/WebAssembly/integer64.ll
test/CodeGen/WebAssembly/memory-addr32.ll
test/CodeGen/WebAssembly/memory-addr64.ll
test/CodeGen/WebAssembly/return-void.ll
test/CodeGen/WebAssembly/unused-argument.ll