summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2019-11-19 14:05:39 +0530
committerSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2019-11-20 15:53:55 +0530
commit52c5014da099797e9f1f6c90acddf79a68aa85cb (patch)
treeed25183186a703e2feec5ce7ad864cb41d415237 /llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
parentf67534afd6f237d3ec00c207b26579968c3d60e5 (diff)
downloadbcm5719-llvm-52c5014da099797e9f1f6c90acddf79a68aa85cb.tar.gz
bcm5719-llvm-52c5014da099797e9f1f6c90acddf79a68aa85cb.zip
[AMDGPU] add support for hostcall buffer pointer as hidden kernel argument
Hostcall is a service that allows a kernel to submit requests to the host using shared buffers, and block until a response is received. This will eventually replace the shared buffer currently used for printf, and repurposes the same hidden kernel argument. This change introduces a new ValueKind in the HSA metadata to represent the hostcall buffer. Differential Revision: https://reviews.llvm.org/D70038
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll b/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
index db1d5c5ec85..f5a47a862d6 100644
--- a/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
+++ b/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
@@ -49,6 +49,7 @@
; CHECK-NEXT: ValueType: I64
; CHECK-NEXT: - Size: 8
; CHECK-NEXT: Align: 8
+; CHECK-NOT: ValueKind: HiddenHostcallBuffer
; CHECK-NEXT: ValueKind: HiddenPrintfBuffer
; CHECK-NEXT: ValueType: I8
; CHECK-NEXT: AddrSpaceQual: Global
OpenPOWER on IntegriCloud