2016-07-19 02:42:17 +08:00
|
|
|
declare void @llvm.r600.group.barrier() #0
|
2013-07-09 01:26:39 +08:00
|
|
|
|
2018-02-23 15:36:51 +08:00
|
|
|
target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-A5"
|
2017-10-21 05:00:31 +08:00
|
|
|
|
2017-09-04 23:52:05 +08:00
|
|
|
define void @barrier(i32 %flags) #1 {
|
|
|
|
entry:
|
|
|
|
; We should call mem_fence here, but that is not implemented for r600 yet
|
|
|
|
tail call void @llvm.r600.group.barrier()
|
2013-07-09 01:26:39 +08:00
|
|
|
ret void
|
|
|
|
}
|
2016-02-13 09:01:59 +08:00
|
|
|
|
|
|
|
attributes #0 = { nounwind convergent }
|
2017-09-04 23:52:05 +08:00
|
|
|
attributes #1 = { nounwind convergent alwaysinline }
|