[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:
parent
b2d3a6574c
commit
148cb22dd7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user