1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; REQUIRES: nvptx-registered-target
4 ; Make sure LLVM knows about the convergent attribute on the
5 ; llvm.nvvm.barrier0 intrinsic.
7 declare void @llvm.nvvm.barrier0()
9 ; CHECK: declare void @llvm.nvvm.barrier0() #[[ATTRNUM:[0-9]+]]
10 ; CHECK: attributes #[[ATTRNUM]] = { convergent nocallback nounwind }