llvm-project/llvm/test/CodeGen
Artem Belevich d7ebcfb291 [NVPTX] Improve lowering of byval args of device functions.
Avoid unnecessary spills of such vars to local space on SASS level and
pointer space conversion.

Instead, make a local copy with appropriate addrspacecasts and let
LLVM optimize them away when possible.

This allows loading value of the argument using [symbol+offset]
instead of converting argument to general space pointer and using it
for indexing (which also implicitly converts param space pointer to
local space one on SASS level and triggers copying of argument into
local space in the process).

This reduces call overhead, uses less registers and reduces overall
SASS size by 2-4%.

Differential Review: http://reviews.llvm.org/D21421

llvm-svn: 273313
2016-06-21 20:30:26 +00:00
..
AArch64 [AArch64] Fix merge-store.ll regression test after r273271 2016-06-21 17:15:49 +00:00
AMDGPU AMDGPU: Preserve undef flag on vcc when shrinking v_cndmask_b32 2016-06-20 18:34:00 +00:00
ARM [arm+x86] Make GNU variants behave like GNU w.r.t combining sin+cos into sincos. 2016-06-21 12:29:03 +00:00
BPF [BPF] Remove exit-on-error from tests (PR27768, PR27769) 2016-05-30 08:28:34 +00:00
Generic Move CodeGen test from Generic to X86 specific directory 2016-06-10 19:14:01 +00:00
Hexagon [Hexagon] Enable the post-RA scheduler 2016-05-26 19:44:28 +00:00
Inputs [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
Lanai [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
MIR [mips][mips16] Fix machine verifier errors about incorrect register classes on load/stores. 2016-06-16 10:20:59 +00:00
MSP430
Mips [mips] Emit a JALR with $rd equal to $zero, instead of a JR in MIPS32R6. 2016-06-18 15:39:43 +00:00
NVPTX [NVPTX] Improve lowering of byval args of device functions. 2016-06-21 20:30:26 +00:00
PowerPC IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
SPARC [SPARC[ Correcting out-of-date unit tests checked in as part of r273108 2016-06-19 12:52:39 +00:00
SystemZ [SelectionDAG] Don't treat library calls specially if marked with nobuiltin. 2016-06-17 20:24:07 +00:00
Thumb [Thumb] Fix off-by-one error in r272007 2016-06-14 13:33:07 +00:00
Thumb2 Don't print (PLT) on arm. 2016-06-16 16:09:53 +00:00
WebAssembly [WebAssembly] Emit type signatures for declared functions 2016-06-03 18:34:36 +00:00
WinEH [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
X86 [StackProtector] Fix computation of GSCookieOffset and EHCookieOffset with SEH4 2016-06-21 15:58:55 +00:00
XCore [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00