[llvm] 3e32e45 - [NVPTX] Verify ptx in the right version

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 01:41:05 PDT 2024


Author: Benjamin Kramer
Date: 2024-09-17T10:40:21+02:00
New Revision: 3e32e455913f0fe56f53f2f5711ea0130473d99a

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

LOG: [NVPTX] Verify ptx in the right version

Added: 
    

Modified: 
    llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll b/llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll
index 2602c3b0d041b5..71a46fa6d48208 100644
--- a/llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll
+++ b/llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_90 | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_90 | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_90 | %ptxas-verify -arch=sm_90 %}
 
 %struct.64 = type <{ i64 }>
 declare i64 @callee(ptr %p);


        


More information about the llvm-commits mailing list