[llvm] 560c2fd - NVPTX: fix test failures under ptxas-12.0.

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 20:09:53 PDT 2024


Author: James Y Knight
Date: 2024-05-20T23:09:26-04:00
New Revision: 560c2fd3d427a5e2dc2361abde1142f3fda40253

URL: https://github.com/llvm/llvm-project/commit/560c2fd3d427a5e2dc2361abde1142f3fda40253
DIFF: https://github.com/llvm/llvm-project/commit/560c2fd3d427a5e2dc2361abde1142f3fda40253.diff

LOG: NVPTX: fix test failures under ptxas-12.0.

(Because ptxas-12 no longer supports 32-bit.)

Fixes c5b11a710e01304908e3f320e40bc9da9f6a8de4 and 8da3a8f550d0b266411b2dc177dff8591ee86cb2.

Added: 
    

Modified: 
    llvm/test/CodeGen/NVPTX/param-overalign.ll
    llvm/test/CodeGen/NVPTX/st-param-imm.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/NVPTX/param-overalign.ll b/llvm/test/CodeGen/NVPTX/param-overalign.ll
index 63e706982f394..5c09bb8e1a5d7 100644
--- a/llvm/test/CodeGen/NVPTX/param-overalign.ll
+++ b/llvm/test/CodeGen/NVPTX/param-overalign.ll
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=nvptx | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -march=nvptx -verify-machineinstrs | %ptxas-verify %}
+; RUN: %if ptxas && !ptxas-12.0 %{ llc < %s -march=nvptx -verify-machineinstrs | %ptxas-verify %}
 
 target triple = "nvptx64-nvidia-cuda"
 

diff  --git a/llvm/test/CodeGen/NVPTX/st-param-imm.ll b/llvm/test/CodeGen/NVPTX/st-param-imm.ll
index d9e0057192381..29f27c1ba6cdc 100644
--- a/llvm/test/CodeGen/NVPTX/st-param-imm.ll
+++ b/llvm/test/CodeGen/NVPTX/st-param-imm.ll
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
 ; RUN: llc < %s -march=nvptx64 | FileCheck %s
 ; RUN: llc < %s -march=nvptx | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -march=nvptx -verify-machineinstrs | %ptxas-verify %}
+; RUN: %if ptxas && !ptxas-12.0 %{ llc < %s -march=nvptx -verify-machineinstrs | %ptxas-verify %}
 ; RUN: %if ptxas %{ llc < %s -march=nvptx64 -verify-machineinstrs | %ptxas-verify %}
 
 target triple = "nvptx64-nvidia-cuda"


        


More information about the llvm-commits mailing list