llvm-project/llvm/test/CodeGen
Tom Stellard bbeb45aff6 AMDGPU: Refactor kernel argument lowering
Summary:
The main challenge in lowering kernel arguments for AMDGPU is determing the
memory type of the argument.  The generic calling convention code assumes
that only legal register types can be stored in memory, but this is not the
case for AMDGPU.

This consolidates all the logic AMDGPU uses for deducing memory types into a single
function.  This will make it much easier to support different ABIs in the future.

Reviewers: arsenm

Subscribers: arsenm, wdng, nhaehnle, llvm-commits, yaxunl

Differential Revision: https://reviews.llvm.org/D24614

llvm-svn: 281781
2016-09-16 21:53:00 +00:00
..
AArch64 [AArch64][GlobalISel] Add default regbank mapping for int<>FP. 2016-09-16 15:12:46 +00:00
AMDGPU AMDGPU: Refactor kernel argument lowering 2016-09-16 21:53:00 +00:00
ARM Reverting r281719, this is causing buildbot failures and timeouts again. 2016-09-16 13:16:52 +00:00
BPF
Generic CodeGen: Remove MachineFunctionAnalysis => Enable (Machine)ModulePasses 2016-08-24 01:52:46 +00:00
Hexagon This reapplies r281304. The issue was that I had missed 2016-09-14 08:20:03 +00:00
Inputs
Lanai Add a REQUIRES: assert on a Lanai test that uses a -debug-only flag 2016-07-29 19:35:22 +00:00
MIR [AArch64] Simplify patchpoint/stackmap size test (r281301). NFC. 2016-09-13 22:16:40 +00:00
MSP430 Revert r279242 - it's failing the tests 2016-08-19 14:18:34 +00:00
Mips Revert "[mips] Fix c.<cc>.<fmt> instruction definition." 2016-09-09 11:06:01 +00:00
NVPTX DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
PowerPC Make test slightly more explicit. NFC. 2016-09-16 18:20:43 +00:00
SPARC [Myriad]: set LeonCASA processor feature 2016-09-13 17:51:41 +00:00
SystemZ [SystemZ] Use valid base/index regs for inline asm 2016-08-18 21:44:15 +00:00
Thumb Revert "[Thumb] Teach ISel how to lower compares of AND bitmasks efficiently" 2016-09-14 09:45:28 +00:00
Thumb2 Revert "[Thumb] Teach ISel how to lower compares of AND bitmasks efficiently" 2016-09-14 09:45:28 +00:00
WebAssembly [WebAssembly] Fix function types of CFGStackify tests 2016-09-16 20:58:31 +00:00
WinEH Revert EH-specific checks in BranchFolding that were causing blow ups in compile time. 2016-07-27 17:55:33 +00:00
X86 [X86][SSE] Added vector sub combine tests 2016-09-16 20:00:51 +00:00
XCore