1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen
Derek Schuff f0dc82710c [WebAssembly] Emit type signatures for declared functions
Under emscripten, C code can take the address of a function implemented
in Javascript (which is exposed via an import in wasm). Because imports
do not have linear memory address in wasm, we need to generate a thunk
to be the target of the indirect call; it call the import directly.

To make this possible, LLVM needs to emit the type signatures for these
functions, because they may not be called directly or referred to other
than where the address is taken.

This uses s new .s directive (.functype) which specifies the signature.

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

llvm-svn: 271599
2016-06-02 21:34:18 +00:00
..
AArch64 transform obscured FP sign bit ops into a fabs/fneg using TLI hook 2016-06-02 20:01:37 +00:00
AMDGPU AMDGPU: Cleanup load tests 2016-06-02 19:54:26 +00:00
ARM This adds support for Cortex-A73 as an available target. 2016-06-02 10:48:52 +00:00
BPF
Generic
Hexagon
Inputs
Lanai
Mips [mips] bnec/beqc register constraint fix 2016-05-31 09:54:55 +00:00
MIR
MSP430
NVPTX
PowerPC [PowerPC] Run reg2mem on tests to simplify them. 2016-06-02 18:02:50 +00:00
SPARC [Sparc] Allow passing of empty structs. 2016-06-01 08:48:56 +00:00
SystemZ
Thumb
Thumb2
WebAssembly [WebAssembly] Emit type signatures for declared functions 2016-06-02 21:34:18 +00:00
WinEH
X86 [X86][SSE] Added SSE41/AVX2 non-temporal tests 2016-06-02 18:01:21 +00:00
XCore