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