summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-02-06 19:32:44 +0000
committerJustin Lebar <jlebar@google.com>2016-02-06 19:32:44 +0000
commit1fdb5e69427f64d2b3f66218f5f12de32f64dce2 (patch)
treeb87969a63d4b659eb8298f289fc09fd622f17f03 /llvm/test/Feature
parent39580a4a3020ef72d32908cdaa5a7a2d59f318c3 (diff)
downloadbcm5719-llvm-1fdb5e69427f64d2b3f66218f5f12de32f64dce2.tar.gz
bcm5719-llvm-1fdb5e69427f64d2b3f66218f5f12de32f64dce2.zip
[NVPTX] Mark nvvm synchronizing intrinsics as convergent.
Summary: This is the attribute purpose-made for e.g. __syncthreads. It appears that NoDuplicate may not be sufficient to prevent Sink from touching a call to __syncthreads. Reviewers: jingyue, hfinkel Subscribers: llvm-commits, jholewinski, jhen, rnk, tra, majnemer Differential Revision: http://reviews.llvm.org/D16941 llvm-svn: 260005
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r--llvm/test/Feature/intrinsic-noduplicate.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Feature/intrinsic-noduplicate.ll b/llvm/test/Feature/intrinsic-noduplicate.ll
index 9a2b0aba5bd..1ffe6ac563c 100644
--- a/llvm/test/Feature/intrinsic-noduplicate.ll
+++ b/llvm/test/Feature/intrinsic-noduplicate.ll
@@ -1,9 +1,9 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
-; Make sure LLVM knows about the noduplicate attribute on the
+; Make sure LLVM knows about the convergent and noduplicate attributes 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 }
+; CHECK: attributes #[[ATTRNUM]] = { convergent noduplicate nounwind }
OpenPOWER on IntegriCloud