[llvm] 61a0fc7 - [NVPTX] pass correct GPU arch to ptxas test (#81535)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 13:18:11 PST 2024
Author: Artem Belevich
Date: 2024-02-12T13:18:08-08:00
New Revision: 61a0fc794789e5bf9f850436926700c3ad56682b
URL: https://github.com/llvm/llvm-project/commit/61a0fc794789e5bf9f850436926700c3ad56682b
DIFF: https://github.com/llvm/llvm-project/commit/61a0fc794789e5bf9f850436926700c3ad56682b.diff
LOG: [NVPTX] pass correct GPU arch to ptxas test (#81535)
Added:
Modified:
llvm/test/CodeGen/NVPTX/nanosleep.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/NVPTX/nanosleep.ll b/llvm/test/CodeGen/NVPTX/nanosleep.ll
index 1b2a7bf9476cf5..a28dabe771b064 100644
--- a/llvm/test/CodeGen/NVPTX/nanosleep.ll
+++ b/llvm/test/CodeGen/NVPTX/nanosleep.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -march=nvptx64 -O2 -mcpu=sm_70 -mattr=+ptx63 | FileCheck %s
-; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_70 -mattr=+ptx63 | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_70 -mattr=+ptx63 | %ptxas-verify -arch=sm_70 %}
declare void @llvm.nvvm.nanosleep(i32)
More information about the llvm-commits
mailing list