Skip to content

Commit ad3196d

Browse files
authored
[NVPTX][Test-only] Add proper sm-version to ptxas-verify in prefetch-inferas-test.ll (#152492)
prefetch-inferas-test.ll was added in #146203 , but due to missing ptxas version the CI is defaulting to sm 60. This patch adds the arg in ptxas-verify check.
1 parent ed9a552 commit ad3196d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/CodeGen/NVPTX/prefetch-inferas-test.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: opt < %s -S -passes=infer-address-spaces | FileCheck %s --check-prefix=INFER
22
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 | FileCheck %s --check-prefix=PTX
3-
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 | %ptxas-verify %}
3+
; RUN: %if ptxas-12.3 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 | %ptxas-verify -arch=sm_90 %}
44

55
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"
66
target triple = "nvptx64-unknown-unknown"
@@ -76,3 +76,5 @@ entry:
7676
declare void @llvm.nvvm.prefetch.tensormap.p0(ptr)
7777
declare void @llvm.nvvm.prefetch.tensormap.p4(ptr addrspace(4))
7878
declare void @llvm.nvvm.prefetch.tensormap.p101(ptr addrspace(101))
79+
80+

0 commit comments

Comments
 (0)