view test/Feature/intrinsic-noduplicate.ll @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents 54457678186b
children 1172e4bd9c6f
line wrap: on
line source

; 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 }