[llvm] c7b4b4a - [NVPTX] Fix the build after ce465594e239. (#201268)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 22:46:31 PDT 2026


Author: Justin Lebar
Date: 2026-06-02T22:46:27-07:00
New Revision: c7b4b4a33350e3805deae64f17d6185b184d7887

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

LOG: [NVPTX] Fix the build after ce465594e239. (#201268)

ce465594e239 (#201177) added sm_90 / PTX ISA 7.8 instructions to
lower-aggr-copies.ll, so we need to guard the RUN line appropriately.

Added: 
    

Modified: 
    llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll b/llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
index b60f7a2d6def1..baffec98824ae 100644
--- a/llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
+++ b/llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_35 -O0 | FileCheck %s --check-prefix PTX
 ; RUN: opt < %s -S -nvptx-aa -nvptx-aa-wrapper -nvptx-lower-aggr-copies | FileCheck %s --check-prefix IR
-; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_35 -O0 | %ptxas-verify %}
+; RUN: %if ptxas-sm_90 && ptxas-isa-7.8 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx78 -O0 | %ptxas-verify -arch=sm_90 %}
 
 ; Verify that the NVPTXLowerAggrCopies pass works as expected - calls to
 ; llvm.mem* intrinsics get lowered to loops.


        


More information about the llvm-commits mailing list