Skip to content

Commit e65d9c1

Browse files
committed
address comments
1 parent b3994ae commit e65d9c1

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

llvm/test/CodeGen/NVPTX/cluster-dim.ll

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
1-
; RUN: llc < %s -march=nvptx64 -mcpu=sm_90 | FileCheck %s
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2+
; RUN: llc < %s -march=nvptx64 -mcpu=sm_80 | FileCheck -check-prefixes=CHECK80 %s
3+
; RUN: llc < %s -march=nvptx64 -mcpu=sm_90 | FileCheck -check-prefixes=CHECK90 %s
24
; RUN: %if ptxas-12.0 %{ llc < %s -march=nvptx64 -mcpu=sm_90 | %ptxas-verify -arch=sm_90 %}
35

4-
; CHECK-LABEL: .entry kernel_func_clusterxyz
56
define void @kernel_func_clusterxyz() {
6-
; CHECK: .explicitcluster
7-
; CHECK: .reqnctapercluster 3, 5, 7
7+
; CHECK80-LABEL: kernel_func_clusterxyz(
8+
; CHECK80: {
9+
; CHECK80-EMPTY:
10+
; CHECK80-EMPTY:
11+
; CHECK80-NEXT: // %bb.0:
12+
; CHECK80-NEXT: ret;
13+
;
14+
; CHECK90-LABEL: kernel_func_clusterxyz(
15+
; CHECK90: .explicitcluster
16+
; CHECK90-NEXT: .reqnctapercluster 3, 5, 7
17+
; CHECK90-NEXT: {
18+
; CHECK90-EMPTY:
19+
; CHECK90-EMPTY:
20+
; CHECK90-NEXT: // %bb.0:
21+
; CHECK90-NEXT: ret;
822
ret void
923
}
1024

0 commit comments

Comments
 (0)