Skip to content

Commit 978df3b

Browse files
authored
[NVPTX][test] Fixup to get ptxas passing for byval-const-global.ll (#138175)
1 parent 441b683 commit 978df3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/NVPTX/byval-const-global.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
22
; RUN: llc < %s -mcpu=sm_70 | FileCheck %s
3-
; RUN: %if ptxas %{ llc < %s -mcpu=sm_70 | %ptxas-verify %}
3+
; RUN: %if ptxas %{ llc < %s -mcpu=sm_70 | %ptxas-verify -arch=sm_70 %}
44

55
target triple = "nvptx64-nvidia-cuda"
66

@@ -30,4 +30,4 @@ define void @foo() {
3030
ret void
3131
}
3232

33-
declare void @bar(ptr)
33+
declare void @bar(ptr byval(%struct))

0 commit comments

Comments
 (0)