[llvm] [NVPTX] Add proper precondition in tensormap_replace_sm_103a test (PR #174144)

Walter Lee via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 1 06:43:36 PST 2026


https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/174144

Fixes 14b1d770db7f9ee49693063ad851215dede0766e.

>From ce7b565b6c31d284feb74f6f52cbe2ac27fc632a Mon Sep 17 00:00:00 2001
From: Walter Lee <waltl at google.com>
Date: Thu, 1 Jan 2026 09:41:44 -0500
Subject: [PATCH] [NVPTX] Add proper precondition in tensormap_replace_sm_103a
 test

Fixes 14b1d770db7f9ee49693063ad851215dede0766e.
---
 llvm/test/CodeGen/NVPTX/tensormap_replace_sm_103a.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/CodeGen/NVPTX/tensormap_replace_sm_103a.ll b/llvm/test/CodeGen/NVPTX/tensormap_replace_sm_103a.ll
index 197bbdee692c2..931fe70a60182 100644
--- a/llvm/test/CodeGen/NVPTX/tensormap_replace_sm_103a.ll
+++ b/llvm/test/CodeGen/NVPTX/tensormap_replace_sm_103a.ll
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
 ; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_103a -mattr=+ptx88 | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_103a -mattr=+ptx88 | %ptxas-verify -arch=sm_103a %}
+; RUN: %if ptxas-sm_103a && ptxas-isa-8.8 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_103a -mattr=+ptx88 | %ptxas-verify -arch=sm_103a %}
 
 define void @tensormap_replace_swizzle_mode(ptr addrspace(1) %global_addr, ptr addrspace(3) %shared_addr) {
 ; CHECK-LABEL: tensormap_replace_swizzle_mode(



More information about the llvm-commits mailing list