llvm-project/libclc/r600/lib/workitem/get_work_dim.ll

9 lines
232 B
LLVM
Raw Normal View History

declare i32 @llvm.AMDGPU.read.workdim() nounwind readnone
define i32 @get_work_dim() nounwind readnone alwaysinline {
%x = call i32 @llvm.AMDGPU.read.workdim() nounwind readnone , !range !0
ret i32 %x
}
!0 = !{ i32 1, i32 4 }