summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/debug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/debug.ll')
-rw-r--r--test/CodeGen/AMDGPU/debug.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AMDGPU/debug.ll b/test/CodeGen/AMDGPU/debug.ll
index a2e0e878b740..f149aaddb8ef 100644
--- a/test/CodeGen/AMDGPU/debug.ll
+++ b/test/CodeGen/AMDGPU/debug.ll
@@ -4,7 +4,7 @@
; Test for a crash in the custom assembly dump code.
; SI: s_endpgm
-define void @test(i32 addrspace(1)* %out) {
+define amdgpu_kernel void @test(i32 addrspace(1)* %out) {
store i32 0, i32 addrspace(1)* %out
ret void
}