From 9117880017749ece5f4253d4ccc4bb1a3858c210 Mon Sep 17 00:00:00 2001 From: Alex Maclean Date: Thu, 1 May 2025 18:41:10 +0000 Subject: [PATCH] [NVPTX][test] Fixup to get ptxas passing for byval-const-global.ll --- llvm/test/CodeGen/NVPTX/byval-const-global.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/NVPTX/byval-const-global.ll b/llvm/test/CodeGen/NVPTX/byval-const-global.ll index cce317a52299c..11964e1981e12 100644 --- a/llvm/test/CodeGen/NVPTX/byval-const-global.ll +++ b/llvm/test/CodeGen/NVPTX/byval-const-global.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 ; RUN: llc < %s -mcpu=sm_70 | FileCheck %s -; RUN: %if ptxas %{ llc < %s -mcpu=sm_70 | %ptxas-verify %} +; RUN: %if ptxas %{ llc < %s -mcpu=sm_70 | %ptxas-verify -arch=sm_70 %} target triple = "nvptx64-nvidia-cuda" @@ -30,4 +30,4 @@ define void @foo() { ret void } -declare void @bar(ptr) +declare void @bar(ptr byval(%struct))