2014-03-19 07:51:07 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
|
2016-02-07 03:32:44 +08:00
|
|
|
; Make sure LLVM knows about the convergent and noduplicate attributes on the
|
2014-03-19 07:51:07 +08:00
|
|
|
; llvm.cuda.syncthreads intrinsic.
|
|
|
|
|
|
|
|
declare void @llvm.cuda.syncthreads()
|
|
|
|
|
|
|
|
; CHECK: declare void @llvm.cuda.syncthreads() #[[ATTRNUM:[0-9]+]]
|
2016-02-07 03:32:44 +08:00
|
|
|
; CHECK: attributes #[[ATTRNUM]] = { convergent noduplicate nounwind }
|