mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
18054ad909
Everywhere where cuda.syncthreads or __syncthreads is used, use the properly namespaced nvvm.barrier0 instead. llvm-svn: 274664
10 lines
300 B
LLVM
10 lines
300 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
; Make sure LLVM knows about the convergent attribute on the
|
|
; llvm.nvvm.barrier0 intrinsic.
|
|
|
|
declare void @llvm.nvvm.barrier0()
|
|
|
|
; CHECK: declare void @llvm.nvvm.barrier0() #[[ATTRNUM:[0-9]+]]
|
|
; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind }
|