[llvm] 17b3dd0 - [NVPTX][test] fix CodeGen/NVPTX/surf-write.ll

Mikhail Goncharov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 06:45:20 PST 2024


Author: Mikhail Goncharov
Date: 2024-12-17T15:45:06+01:00
New Revision: 17b3dd03a05dfa938aacd57027189271a62e2fda

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

LOG: [NVPTX][test] fix CodeGen/NVPTX/surf-write.ll

ptxas needs a proper triplet

for 133352feb30605ec51b15f77826ed3a2fbf8db56

Added: 
    

Modified: 
    llvm/test/CodeGen/NVPTX/surf-write.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/NVPTX/surf-write.ll b/llvm/test/CodeGen/NVPTX/surf-write.ll
index a3207777cf4c1a..258bb6d8b5b71b 100644
--- a/llvm/test/CodeGen/NVPTX/surf-write.ll
+++ b/llvm/test/CodeGen/NVPTX/surf-write.ll
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -mcpu=sm_20 -verify-machineinstrs | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -mcpu=sm_20 -verify-machineinstrs | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -mcpu=sm_20 -mtriple=nvptx64-nvcl -verify-machineinstrs | %ptxas-verify %}
 
 target triple = "nvptx-unknown-nvcl"
 


        


More information about the llvm-commits mailing list