Skip to content

Commit 7e7b2f7

Browse files
author
Alex Voicu
committed
Mainline doesn't have captures(none)
1 parent 59d2c11 commit 7e7b2f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/AMDGPU/amdgpu-expand-feature-predicates-unfoldable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
declare void @llvm.amdgcn.s.sleep(i32 immarg) #1
1010

11-
define amdgpu_kernel void @kernel(ptr addrspace(1) readnone captures(none) %p.coerce, i32 %x, ptr addrspace(1) %pfn.coerce) {
11+
define amdgpu_kernel void @kernel(ptr addrspace(1) readnone nocapture %p.coerce, i32 %x, ptr addrspace(1) %pfn.coerce) {
1212
entry:
1313
%0 = ptrtoint ptr addrspace(1) %pfn.coerce to i64
1414
%1 = inttoptr i64 %0 to ptr

0 commit comments

Comments
 (0)