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