[llvm] 4c600bd - [NVPTX] Add a test to verify the .version with sm_90(a)
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 09:04:07 PDT 2023
Author: Benjamin Kramer
Date: 2023-10-24T18:01:48+02:00
New Revision: 4c600bd117b4c75ea0ebfecc7fccc825719493a7
URL: https://github.com/llvm/llvm-project/commit/4c600bd117b4c75ea0ebfecc7fccc825719493a7
DIFF: https://github.com/llvm/llvm-project/commit/4c600bd117b4c75ea0ebfecc7fccc825719493a7.diff
LOG: [NVPTX] Add a test to verify the .version with sm_90(a)
Added:
Modified:
llvm/test/CodeGen/NVPTX/sm-version.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/NVPTX/sm-version.ll b/llvm/test/CodeGen/NVPTX/sm-version.ll
index eacd7f38e1269d4..65e63e2431e329f 100644
--- a/llvm/test/CodeGen/NVPTX/sm-version.ll
+++ b/llvm/test/CodeGen/NVPTX/sm-version.ll
@@ -14,6 +14,8 @@
; RUN: llc < %s -march=nvptx -mcpu=sm_75 | FileCheck %s --check-prefix=SM75
; RUN: llc < %s -march=nvptx -mcpu=sm_80 | FileCheck %s --check-prefix=SM80
; RUN: llc < %s -march=nvptx -mcpu=sm_86 | FileCheck %s --check-prefix=SM86
+; RUN: llc < %s -march=nvptx -mcpu=sm_90 | FileCheck %s --check-prefix=SM90
+; RUN: llc < %s -march=nvptx -mcpu=sm_90a | FileCheck %s --check-prefix=SM90a
; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s --check-prefix=SM20
; RUN: llc < %s -march=nvptx64 -mcpu=sm_21 | FileCheck %s --check-prefix=SM21
@@ -31,6 +33,8 @@
; RUN: llc < %s -march=nvptx64 -mcpu=sm_75 | FileCheck %s --check-prefix=SM75
; RUN: llc < %s -march=nvptx64 -mcpu=sm_80 | FileCheck %s --check-prefix=SM80
; RUN: llc < %s -march=nvptx64 -mcpu=sm_86 | FileCheck %s --check-prefix=SM86
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_90 | FileCheck %s --check-prefix=SM90
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_90a | FileCheck %s --check-prefix=SM90a
; SM20: .version 3.2
; SM21: .version 3.2
@@ -48,6 +52,8 @@
; SM75: .version 6.3
; SM80: .version 7.0
; SM86: .version 7.1
+; SM90: .version 7.8
+; SM90a: .version 8.0
; SM20: .target sm_20
; SM21: .target sm_21
@@ -65,3 +71,5 @@
; SM75: .target sm_75
; SM80: .target sm_80
; SM86: .target sm_86
+; SM90: .target sm_90
+; SM90a: .target sm_90a
More information about the llvm-commits
mailing list