summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/hsa-default-device.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/hsa-default-device.ll')
-rw-r--r--test/CodeGen/AMDGPU/hsa-default-device.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AMDGPU/hsa-default-device.ll b/test/CodeGen/AMDGPU/hsa-default-device.ll
index 631d6def44426..45efe9b86557a 100644
--- a/test/CodeGen/AMDGPU/hsa-default-device.ll
+++ b/test/CodeGen/AMDGPU/hsa-default-device.ll
@@ -4,7 +4,7 @@
; unsupported device.
; CHECK: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
-define void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
+define amdgpu_kernel void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
store float 0.0, float addrspace(1)* %out0
ret void
}