OSDN Git Service

[WebAssembly] Add type prefixes to call instructions
authorDan Gohman <dan433584@gmail.com>
Mon, 14 Dec 2015 22:56:51 +0000 (22:56 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 14 Dec 2015 22:56:51 +0000 (22:56 +0000)
commitae06f491f7d23b37a05a9d02c983402905fd17da
tree737f90dcd79b9dd5c36b701b4cc0262888d64c51
parent4fe3f079fbc7ada006da829034228e12ed0f7042
[WebAssembly] Add type prefixes to call instructions

Add return type information to call and call_indirect instructions. This
allows them to be disambiguated without knowledge of the callee.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyInstrCall.td
test/CodeGen/WebAssembly/call.ll
test/CodeGen/WebAssembly/f32.ll
test/CodeGen/WebAssembly/f64.ll
test/CodeGen/WebAssembly/frem.ll
test/CodeGen/WebAssembly/returned.ll
test/CodeGen/WebAssembly/unused-argument.ll