summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll')
-rw-r--r--test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll b/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll
index 866a4a9191e27..b7ed34bbf09b7 100644
--- a/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll
+++ b/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll
@@ -2,7 +2,7 @@
; Don't crash
; CHECK: MAX_UINT
-define void @test(i64 addrspace(1)* %out) {
+define amdgpu_kernel void @test(i64 addrspace(1)* %out) {
bb:
store i64 2, i64 addrspace(1)* %out
%tmp = load i64, i64 addrspace(1)* %out