[llvm] [NVPTX][test] fixup version for ptxas on trunc-tofp.ll (PR #149558)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 11:45:03 PDT 2025


https://github.com/AlexMaclean created https://github.com/llvm/llvm-project/pull/149558

None

>From 7783369282072ec8536a38f8c8ea1b64aed20ba1 Mon Sep 17 00:00:00 2001
From: Alex Maclean <amaclean at nvidia.com>
Date: Fri, 18 Jul 2025 18:44:27 +0000
Subject: [PATCH] [NVPTX][test] fixup version for ptxas on trunc-tofp.ll

---
 llvm/test/CodeGen/NVPTX/trunc-tofp.ll | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/CodeGen/NVPTX/trunc-tofp.ll b/llvm/test/CodeGen/NVPTX/trunc-tofp.ll
index 404c423cc026a..12502b6f29899 100644
--- a/llvm/test/CodeGen/NVPTX/trunc-tofp.ll
+++ b/llvm/test/CodeGen/NVPTX/trunc-tofp.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_80 | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -mcpu=sm_80 | %ptxas-verify %}
+; RUN: llc < %s -mcpu=sm_50 | FileCheck %s
+; RUN: %if ptxas %{ llc < %s -mcpu=sm_50 | %ptxas-verify -arch=sm_50 %}
 
 target triple = "nvptx64-nvidia-cuda"
 



More information about the llvm-commits mailing list