mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +00:00
f7ed584658
Summary: I've completed my audit of all the code that looks at noduplicate and added handling of convergent where appropriate, so we no longer need noduplicate on these intrinsics. Reviewers: jholewinski Subscribers: llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D18168 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264107 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
309 B
LLVM
10 lines
309 B
LLVM
; 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 }
|