mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 18:46:05 +00:00
11 lines
347 B
LLVM
11 lines
347 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; REQUIRES: nvptx-registered-target
|
|
|
|
; 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 nocallback nounwind }
|