Eli Bendersky | 2281ef9 | 2014-03-18 23:51:07 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | FileCheck %s |
| 2 | |
Justin Lebar | e87e1c6 | 2016-03-22 22:08:01 +0000 | [diff] [blame] | 3 | ; Make sure LLVM knows about the convergent attribute on the |
Eli Bendersky | 2281ef9 | 2014-03-18 23:51:07 +0000 | [diff] [blame] | 4 | ; llvm.cuda.syncthreads intrinsic. |
| 5 | |
| 6 | declare void @llvm.cuda.syncthreads() |
| 7 | |
| 8 | ; CHECK: declare void @llvm.cuda.syncthreads() #[[ATTRNUM:[0-9]+]] |
Justin Lebar | e87e1c6 | 2016-03-22 22:08:01 +0000 | [diff] [blame] | 9 | ; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind } |