2014-03-19 07:51:07 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
|
2016-03-23 06:08:01 +08:00
|
|
|
; Make sure LLVM knows about the convergent attribute on the
|
2016-07-07 04:02:45 +08:00
|
|
|
; llvm.nvvm.barrier0 intrinsic.
|
2014-03-19 07:51:07 +08:00
|
|
|
|
2016-07-07 04:02:45 +08:00
|
|
|
declare void @llvm.nvvm.barrier0()
|
2014-03-19 07:51:07 +08:00
|
|
|
|
2016-07-07 04:02:45 +08:00
|
|
|
; CHECK: declare void @llvm.nvvm.barrier0() #[[ATTRNUM:[0-9]+]]
|
2016-03-23 06:08:01 +08:00
|
|
|
; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind }
|