blob: 370026223e85e8cfc84796e75273486edc45221f [file] [log] [blame]
Eli Bendersky2281ef92014-03-18 23:51:07 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
Justin Lebare87e1c62016-03-22 22:08:01 +00003; Make sure LLVM knows about the convergent attribute on the
Eli Bendersky2281ef92014-03-18 23:51:07 +00004; llvm.cuda.syncthreads intrinsic.
5
6declare void @llvm.cuda.syncthreads()
7
8; CHECK: declare void @llvm.cuda.syncthreads() #[[ATTRNUM:[0-9]+]]
Justin Lebare87e1c62016-03-22 22:08:01 +00009; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind }