[PATCH] D25708: [WebAssembly] Fix for 0xc call_indirect changes
Jacob Gravelle via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 16:00:34 PDT 2016
jgravelle-google created this revision.
jgravelle-google added reviewers: dschuff, sunfish.
jgravelle-google added a subscriber: llvm-commits.
Herald added subscribers: mgorny, beanz, jfb.
Need to reorder the operands to have the callee as the last argument.
Adds a pseudo-instruction, and a pass to lower it into a real
call_indirect.
This is the first of two options for how to fix the problem.
https://reviews.llvm.org/D25708
Files:
lib/Target/WebAssembly/CMakeLists.txt
lib/Target/WebAssembly/WebAssembly.h
lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
lib/Target/WebAssembly/WebAssemblyInstrCall.td
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
test/CodeGen/WebAssembly/call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25708.74929.patch
Type: text/x-patch
Size: 12131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161017/f24819e0/attachment.bin>
More information about the llvm-commits
mailing list