[llvm] [NVPTX] Use sink registers instead of temp registers where possible. (PR #134957)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 9 11:53:06 PDT 2025
================
@@ -1,6 +1,9 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
-; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s
+; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 -mattr=+ptx70 | FileCheck -check-prefixes CHECK,PTX70 %s
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 -mattr=+ptx70 | %ptxas-verify %}
----------------
Artem-B wrote:
This may need `ptxas-11.0` as older ones will fail with ptx 7.0
https://github.com/llvm/llvm-project/pull/134957
More information about the llvm-commits
mailing list