summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-09-16 21:53:00 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-09-16 21:53:00 +0000
commitbbeb45aff64e888cd7db72ca3dac862c7233490c (patch)
treefe3655066f8b7ca7f9e28d1162e790f718dd0c19 /llvm/test
parent7ccf6cd104648c2ed6873e00161567d5deb6f938 (diff)
downloadbcm5719-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.ll2
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:
OpenPOWER on IntegriCloud