diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-09-16 21:53:00 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-09-16 21:53:00 +0000 |
commit | bbeb45aff64e888cd7db72ca3dac862c7233490c (patch) | |
tree | fe3655066f8b7ca7f9e28d1162e790f718dd0c19 /llvm/test | |
parent | 7ccf6cd104648c2ed6873e00161567d5deb6f938 (diff) | |
download | bcm5719-llvm-bbeb45aff64e888cd7db72ca3dac862c7233490c.tar.gz bcm5719-llvm-bbeb45aff64e888cd7db72ca3dac862c7233490c.zip |
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
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll b/llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll index 31755125c03..a48e7acd4cf 100644 --- a/llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll +++ b/llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll @@ -1,5 +1,3 @@ -; REQUIRES: asserts -; XFAIL: * ; RUN: llc -march=r600 -mcpu=cypress < %s | FileCheck %s ; CHECK-LABEL: {{^}}kernel_arg_i64: |