llvm.org GIT mirror llvm / release_37 test / Feature / intrinsic-noduplicate.ll
release_37

Tree @release_37 (Download .tar.gz)

intrinsic-noduplicate.ll @release_37raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llvm-dis | FileCheck %s

; Make sure LLVM knows about the noduplicate attribute on the
; llvm.cuda.syncthreads intrinsic.

declare void @llvm.cuda.syncthreads()

; CHECK: declare void @llvm.cuda.syncthreads() #[[ATTRNUM:[0-9]+]]
; CHECK: attributes #[[ATTRNUM]] = { noduplicate nounwind }