llvm-for-llvmta/test/Feature/intrinsic-noduplicate.ll

11 lines
318 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; REQUIRES: NVPTX
; Make sure LLVM knows about the convergent attribute on the
; llvm.nvvm.barrier0 intrinsic.
declare void @llvm.nvvm.barrier0()
; CHECK: declare void @llvm.nvvm.barrier0() #[[ATTRNUM:[0-9]+]]
; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind }