diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-18 18:42:17 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-18 18:42:17 +0000 |
commit | 1ab0d9c1eeea65b99d3c99dc689a32ef99a53bf8 (patch) | |
tree | 77e4943fb5e4a12d160476fdec0f975654f2825f /libclc/r600 | |
parent | b51dcb97bb12923d951fa331d8c91556c8b4ea35 (diff) | |
download | llvm-1ab0d9c1eeea65b99d3c99dc689a32ef99a53bf8.zip llvm-1ab0d9c1eeea65b99d3c99dc689a32ef99a53bf8.tar.gz llvm-1ab0d9c1eeea65b99d3c99dc689a32ef99a53bf8.tar.bz2 |
R600: Use new barrier intrinsic
llvm-svn: 275874
Diffstat (limited to 'libclc/r600')
-rw-r--r-- | libclc/r600/lib/synchronization/barrier_impl.ll | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libclc/r600/lib/synchronization/barrier_impl.ll b/libclc/r600/lib/synchronization/barrier_impl.ll index 825b2eb..9b8fefb 100644 --- a/libclc/r600/lib/synchronization/barrier_impl.ll +++ b/libclc/r600/lib/synchronization/barrier_impl.ll @@ -1,7 +1,6 @@ declare i32 @__clc_clk_local_mem_fence() #1 declare i32 @__clc_clk_global_mem_fence() #1 -declare void @llvm.AMDGPU.barrier.local() #0 -declare void @llvm.AMDGPU.barrier.global() #0 +declare void @llvm.r600.group.barrier() #0 define void @barrier(i32 %flags) #2 { barrier_local_test: @@ -11,7 +10,7 @@ barrier_local_test: br i1 %1, label %barrier_local, label %barrier_global_test barrier_local: - call void @llvm.AMDGPU.barrier.local() + call void @llvm.r600.group.barrier() br label %barrier_global_test barrier_global_test: @@ -21,7 +20,7 @@ barrier_global_test: br i1 %3, label %barrier_global, label %done barrier_global: - call void @llvm.AMDGPU.barrier.global() + call void @llvm.r600.group.barrier() br label %done done: |