[llvm] [NVPTX] Use sink registers instead of temp registers where possible. (PR #134957)

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 00:02:07 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 %}
----------------
jlebar wrote:

thanks!

https://github.com/llvm/llvm-project/pull/134957


More information about the llvm-commits mailing list