[llvm] [NVPTX][test] fixup version for ptxas on trunc-tofp.ll (PR #149558)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 11:45:38 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-nvptx

Author: Alex MacLean (AlexMaclean)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/149558.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/NVPTX/trunc-tofp.ll (+2-2) 


``````````diff
diff --git a/llvm/test/CodeGen/NVPTX/trunc-tofp.ll b/llvm/test/CodeGen/NVPTX/trunc-tofp.ll
index 404c423cc026a..12502b6f29899 100644
--- a/llvm/test/CodeGen/NVPTX/trunc-tofp.ll
+++ b/llvm/test/CodeGen/NVPTX/trunc-tofp.ll
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc < %s -mcpu=sm_80 | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -mcpu=sm_80 | %ptxas-verify %}
+; RUN: llc < %s -mcpu=sm_50 | FileCheck %s
+; RUN: %if ptxas %{ llc < %s -mcpu=sm_50 | %ptxas-verify -arch=sm_50 %}
 
 target triple = "nvptx64-nvidia-cuda"
 

``````````

</details>


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


More information about the llvm-commits mailing list