summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/intrinsic-noduplicate.ll
blob: 370026223e85e8cfc84796e75273486edc45221f (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llvm-dis | FileCheck %s

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

declare void @llvm.cuda.syncthreads()

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