[PATCH] D127866: [NVPTX] Fix issues in ptxas integration to LIT tests
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 13:17:58 PDT 2022
tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.
LGTM in general.
================
Comment at: llvm/test/CodeGen/NVPTX/atomicrmw-expand.ll:3
; RUN: llc < %s -march=nvptx64 -mcpu=sm_60 | FileCheck %s --check-prefixes=ALL,SM60
-; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_30 | %ptxas-verify %}
-; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_60 | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_30 | %ptxas-verify %if !ptxas-11.0 %{-arch=sm_30%} %}
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_60 | %ptxas-verify -arch=sm_60 %}
----------------
Do we have it documented somewhere that detection of ptxas version X.Y, enables `ptxas-A.B` feature for all A.B <= X.Y?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127866/new/
https://reviews.llvm.org/D127866
More information about the llvm-commits
mailing list