Skip to content

Commit ec7b137

Browse files
[NVPTX] Fix --check-prefixes in cp-async-bulk.ll (NFC) (llvm#125146)
I ran `update_llc_test_checks` over all of the `NVPTX` tests. The only modification it made was to `cp-async-bulk.ll`. Thus, I'm creating this PR to update `cp-async-bulk.ll`.
1 parent 41745a2 commit ec7b137

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

llvm/test/CodeGen/NVPTX/cp-async-bulk.ll

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2-
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80| FileCheck --check-prefixes=CHECK-PTX64 %s
3-
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 --nvptx-short-ptr| FileCheck --check-prefixes=CHECK-PTX-SHARED32 %s
2+
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80| FileCheck --check-prefixes=CHECK,CHECK-PTX64 %s
3+
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 --nvptx-short-ptr| FileCheck --check-prefixes=CHECK,CHECK-PTX-SHARED32 %s
44
; RUN: %if ptxas-12.3 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80| %ptxas-verify -arch=sm_90 %}
55
; RUN: %if ptxas-12.3 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_90 -mattr=+ptx80 --nvptx-short-ptr| %ptxas-verify -arch=sm_90 %}
66

@@ -119,18 +119,18 @@ define void @cp_async_bulk_cta_to_cluster(ptr addrspace(3) %src, ptr addrspace(3
119119
}
120120

121121
define void @cp_async_bulk_prefetch(ptr addrspace(1) %src, i32 %size, i64 %ch) {
122-
; CHECK-PTX64-LABEL: cp_async_bulk_prefetch(
123-
; CHECK-PTX64: {
124-
; CHECK-PTX64-NEXT: .reg .b32 %r<2>;
125-
; CHECK-PTX64-NEXT: .reg .b64 %rd<3>;
126-
; CHECK-PTX64-EMPTY:
127-
; CHECK-PTX64-NEXT: // %bb.0:
128-
; CHECK-PTX64-NEXT: ld.param.u64 %rd1, [cp_async_bulk_prefetch_param_0];
129-
; CHECK-PTX64-NEXT: ld.param.u32 %r1, [cp_async_bulk_prefetch_param_1];
130-
; CHECK-PTX64-NEXT: ld.param.u64 %rd2, [cp_async_bulk_prefetch_param_2];
131-
; CHECK-PTX64-NEXT: cp.async.bulk.prefetch.L2.global.L2::cache_hint [%rd1], %r1, %rd2;
132-
; CHECK-PTX64-NEXT: cp.async.bulk.prefetch.L2.global [%rd1], %r1;
133-
; CHECK-PTX64-NEXT: ret;
122+
; CHECK-LABEL: cp_async_bulk_prefetch(
123+
; CHECK: {
124+
; CHECK-NEXT: .reg .b32 %r<2>;
125+
; CHECK-NEXT: .reg .b64 %rd<3>;
126+
; CHECK-EMPTY:
127+
; CHECK-NEXT: // %bb.0:
128+
; CHECK-NEXT: ld.param.u64 %rd1, [cp_async_bulk_prefetch_param_0];
129+
; CHECK-NEXT: ld.param.u32 %r1, [cp_async_bulk_prefetch_param_1];
130+
; CHECK-NEXT: ld.param.u64 %rd2, [cp_async_bulk_prefetch_param_2];
131+
; CHECK-NEXT: cp.async.bulk.prefetch.L2.global.L2::cache_hint [%rd1], %r1, %rd2;
132+
; CHECK-NEXT: cp.async.bulk.prefetch.L2.global [%rd1], %r1;
133+
; CHECK-NEXT: ret;
134134
tail call void @llvm.nvvm.cp.async.bulk.prefetch.L2(ptr addrspace(1) %src, i32 %size, i64 %ch, i1 1)
135135
tail call void @llvm.nvvm.cp.async.bulk.prefetch.L2(ptr addrspace(1) %src, i32 %size, i64 0, i1 0)
136136
ret void

0 commit comments

Comments
 (0)