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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 09:52:28 PDT 2022


probinson created this revision.
probinson added a reviewer: bogner.
Herald added subscribers: mattd, gchakrabarti, asavonic.
Herald added a project: All.
probinson requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Had to fix attributes as well, not sure which ones it should actually care about.


https://reviews.llvm.org/D136619

Files:
  llvm/test/Feature/intrinsic-noduplicate.ll


Index: llvm/test/Feature/intrinsic-noduplicate.ll
===================================================================
--- llvm/test/Feature/intrinsic-noduplicate.ll
+++ llvm/test/Feature/intrinsic-noduplicate.ll
@@ -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 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136619.470196.patch
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/180ff8e2/attachment.bin>


More information about the llvm-commits mailing list