summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/unknown-processor.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/unknown-processor.ll')
-rw-r--r--test/CodeGen/AMDGPU/unknown-processor.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AMDGPU/unknown-processor.ll b/test/CodeGen/AMDGPU/unknown-processor.ll
index 941f4c601e349..25a700a943d2a 100644
--- a/test/CodeGen/AMDGPU/unknown-processor.ll
+++ b/test/CodeGen/AMDGPU/unknown-processor.ll
@@ -13,7 +13,7 @@
; GCN: ScratchSize: 8{{$}}
; R600: MOV
-define void @foo() {
+define amdgpu_kernel void @foo() {
%alloca = alloca i32, align 4
store volatile i32 0, i32* %alloca
ret void