summaryrefslogtreecommitdiff
path: root/r600/lib/synchronization/barrier_impl.ll
blob: 99ac01856e2b79f9a837048c84c65095ea540671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
declare void @llvm.AMDGPU.barrier.local() nounwind
declare void @llvm.AMDGPU.barrier.global() nounwind

define void @barrier_local() nounwind alwaysinline {
  call void @llvm.AMDGPU.barrier.local()
  ret void
}

define void @barrier_global() nounwind alwaysinline {
  call void @llvm.AMDGPU.barrier.global()
  ret void
}