[lit][REQUIRES] Fix REQUIRES on an NVPTX test so it will run

Differential Revision: https://reviews.llvm.org/D136619
This commit is contained in:
Paul Robinson 2022-10-24 09:50:02 -07:00
parent 81713e893a
commit b9e63abe61
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; REQUIRES: NVPTX
; REQUIRES: nvptx-registered-target
; Make sure LLVM knows about the convergent attribute on the
; llvm.nvvm.barrier0 intrinsic.
@ -7,4 +7,4 @@
declare void @llvm.nvvm.barrier0()
; CHECK: declare void @llvm.nvvm.barrier0() #[[ATTRNUM:[0-9]+]]
; CHECK: attributes #[[ATTRNUM]] = { convergent nounwind }
; CHECK: attributes #[[ATTRNUM]] = { convergent nocallback nounwind }