aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/vtx-fetch-branch.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/vtx-fetch-branch.ll')
-rw-r--r--test/CodeGen/AMDGPU/vtx-fetch-branch.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AMDGPU/vtx-fetch-branch.ll b/test/CodeGen/AMDGPU/vtx-fetch-branch.ll
index 4584d6e25254..4c5eb3d3aa5d 100644
--- a/test/CodeGen/AMDGPU/vtx-fetch-branch.ll
+++ b/test/CodeGen/AMDGPU/vtx-fetch-branch.ll
@@ -10,7 +10,7 @@
; CHECK-NOT: ALU_POP_AFTER
; CHECK: TEX
; CHECK-NEXT: POP
-define void @test(i32 addrspace(1)* %out, i32 addrspace(1)* %in, i32 %cond) {
+define amdgpu_kernel void @test(i32 addrspace(1)* %out, i32 addrspace(1)* %in, i32 %cond) {
entry:
%0 = icmp eq i32 %cond, 0
br i1 %0, label %endif, label %if