[NVPTX] Fix missing arch version for ptxas in LIT test. (#190231)

Recently added LIT test in #188539 missed -arch option for ptxas causing
post commit build failure. This PR addresses that failure.
This commit is contained in:
Karthik Senthil 2026-04-02 13:02:29 -07:00 committed by GitHub
parent b2d3a6574c
commit 148cb22dd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
; Test to verify functionality of NVPTXAsmPrinter for PTX module directives and header.
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | FileCheck %s
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | %ptxas-verify %}
; RUN: %if ptxas-sm_100 && ptxas-isa-8.7 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | %ptxas-verify -arch=sm_100 %}
; CHECK: //
; CHECK-NEXT: // Generated by LLVM NVPTX Back-End