Skip to content

Commit fbe98da

Browse files
jayfoadklensy
and
klensy
committed
[AMDGPU] Fix filecheck annotation typos
Co-authored-by: klensy <nightouser@gmail.com>
1 parent 7af5b68 commit fbe98da

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ S:
9090
br i1 %cond.uni, label %exit, label %T
9191

9292
T:
93-
; CHECK-NIT: DIVERGENT: %tt.phi = phi i32
93+
; CHECK-NOT: DIVERGENT: %tt.phi = phi i32
9494
%tt.phi = phi i32 [ %ss, %S ], [ %a, %entry ]
9595
%tt = add i32 %b, 1
9696
br label %P

llvm/test/CodeGen/AMDGPU/addrspacecast.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ define amdgpu_kernel void @use_global_to_flat_addrspacecast(ptr addrspace(1) %pt
108108
}
109109

110110
; no-op
111-
; HSA-LABEl: {{^}}use_constant_to_flat_addrspacecast:
111+
; HSA-LABEL: {{^}}use_constant_to_flat_addrspacecast:
112112
; HSA: s_load_dwordx2 s[[[PTRLO:[0-9]+]]:[[PTRHI:[0-9]+]]]
113113
; HSA-DAG: v_mov_b32_e32 v[[VPTRLO:[0-9]+]], s[[PTRLO]]
114114
; HSA-DAG: v_mov_b32_e32 v[[VPTRHI:[0-9]+]], s[[PTRHI]]
@@ -119,7 +119,7 @@ define amdgpu_kernel void @use_constant_to_flat_addrspacecast(ptr addrspace(4) %
119119
ret void
120120
}
121121

122-
; HSA-LABEl: {{^}}use_constant_to_global_addrspacecast:
122+
; HSA-LABEL: {{^}}use_constant_to_global_addrspacecast:
123123
; HSA: s_load_dwordx2 s[[[PTRLO:[0-9]+]]:[[PTRHI:[0-9]+]]]
124124
; CI-DAG: v_mov_b32_e32 v[[VPTRLO:[0-9]+]], s[[PTRLO]]
125125
; CI-DAG: v_mov_b32_e32 v[[VPTRHI:[0-9]+]], s[[PTRHI]]

llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
---
66

7-
# GCN-label: name: vop3
7+
# GCN-LABEL: name: vop3
88
# GCN: %6:vgpr_32, %7:sreg_32_xm0_xexec = V_SUBBREV_U32_e64_dpp %3, %0, %1, %5, 1, 1, 15, 15, 1, implicit $exec
99
# GCN: %8:vgpr_32 = V_CVT_PK_U8_F32_e64_dpp %3, 4, %0, 2, %2, 2, %1, 1, 1, 15, 15, 1, implicit $mode, implicit $exec
1010
# GCN: %10:vgpr_32 = V_MED3_F32_e64 0, %9, 0, %0, 0, 12345678, 0, 0, implicit $mode, implicit $exec
@@ -37,7 +37,7 @@ body: |
3737
...
3838
---
3939

40-
# GCN-label: name: vop3_sgpr_src1
40+
# GCN-LABEL: name: vop3_sgpr_src1
4141
# GCN: %6:vgpr_32 = V_MED3_F32_e64_dpp %4, 0, %0, 0, %1, 0, %2, 0, 0, 1, 15, 15, 1, implicit $mode, implicit $exec
4242
# GFX1100: %8:vgpr_32 = V_MED3_F32_e64 0, %7, 0, %2, 0, %1, 0, 0, implicit $mode, implicit $exec
4343
# GFX1150: %8:vgpr_32 = V_MED3_F32_e64_dpp %4, 0, %0, 0, %2, 0, %1, 0, 0, 1, 15, 15, 1, implicit $mode, implicit $exec
@@ -81,7 +81,7 @@ body: |
8181
---
8282

8383
# Regression test for src_modifiers on base u16 opcode
84-
# GCN-label: name: vop3_u16
84+
# GCN-LABEL: name: vop3_u16
8585
# GCN: %5:vgpr_32 = V_ADD_NC_U16_e64_dpp %3, 0, %1, 0, %3, 0, 0, 1, 15, 15, 1, implicit $exec
8686
# GCN: %7:vgpr_32 = V_ADD_NC_U16_e64_dpp %3, 1, %5, 2, %5, 0, 0, 1, 15, 15, 1, implicit $exec
8787
# GCN: %9:vgpr_32 = V_ADD_NC_U16_e64 4, %8, 8, %7, 0, 0, implicit $exec
@@ -205,7 +205,7 @@ body: |
205205
...
206206

207207
# do not combine, dpp arg used twice
208-
# GCN-label: name: dpp_arg_twice
208+
# GCN-LABEL: name: dpp_arg_twice
209209
# GCN: %4:vgpr_32 = V_FMA_F32_e64 1, %1, 2, %3, 2, %3, 1, 2, implicit $mode, implicit $exec
210210
# GCN: %6:vgpr_32 = V_FMA_F32_e64 2, %5, 2, %1, 2, %5, 1, 2, implicit $mode, implicit $exec
211211
# GCN: %8:vgpr_32 = V_FMA_F32_e64 2, %7, 2, %7, 2, %1, 1, 2, implicit $mode, implicit $exec
@@ -231,7 +231,7 @@ body: |
231231
...
232232

233233
# when the dpp source isn't a src0 operand the operation should be commuted if possible
234-
# GCN-label: name: dpp_commute_e64
234+
# GCN-LABEL: name: dpp_commute_e64
235235
# GCN: %4:vgpr_32 = V_MUL_U32_U24_e64_dpp %1, %0, %1, 1, 1, 14, 15, 0, implicit $exec
236236
# GCN: %7:vgpr_32 = V_FMA_F32_e64_dpp %5, 2, %0, 1, %1, 2, %1, 1, 2, 1, 15, 15, 1, implicit $mode, implicit $exec
237237
# GCN: %10:vgpr_32 = V_SUBREV_U32_e64_dpp %1, %0, %1, 1, 1, 14, 15, 0, implicit $exec

llvm/test/MC/AMDGPU/hsa-diag-v4.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
// GCN-LABEL: warning: test_amdhsa_group_segment_fixed_size_repeated
5656
// AMDHSA: error: .amdhsa_ directives cannot be repeated
57-
// NONAMDHSA-: error: unknown directive
57+
// NONAMDHSA: error: unknown directive
5858
.warning "test_amdhsa_group_segment_fixed_size_repeated"
5959
.amdhsa_kernel test_amdhsa_group_segment_fixed_size_repeated
6060
.amdhsa_group_segment_fixed_size 1

llvm/test/MC/Disassembler/AMDGPU/gfx10-wave32.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@
9191

9292
# FIXME: Results in invalid v_subrev_u16_dpp which apparently has the same encoding but does not exist in GFX10
9393

94-
# gfx1032: v_add_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
95-
# gfx1064: v_add_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
94+
# COM: GFX1032: v_add_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
95+
# COM: GFX1064: v_add_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
9696
# 0xfa,0x04,0x0a,0x50,0x01,0xe4,0x00,0x00
9797

9898
# FIXME: Results in v_mul_lo_u16_dpp
9999

100-
# gfx1032: v_sub_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
101-
# gfx1064: v_sub_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
100+
# COM: GFX1032: v_sub_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
101+
# COM: GFX1064: v_sub_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
102102
# 0xfa,0x04,0x0a,0x52,0x01,0xe4,0x00,0x00
103103

104104
# FIXME: gives v_lshlrev_b16_dpp
105105

106-
# gfx1032: v_subrev_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
107-
# gfx1064: v_subrev_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
106+
# COM: GFX1032: v_subrev_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
107+
# COM: GFX1064: v_subrev_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
108108
# 0xfa,0x04,0x0a,0x54,0x01,0xe4,0x00,0x00
109109

110110
# GFX1032: v_add_co_u32 v0, s0, v0, v2

llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_ds.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@
16741674
# GFX12: ds_pk_add_f16 v0, v0 offset:4660 ; encoding: [0x34,0x12,0x68,0xda,0x00,0x00,0x00,0x00]
16751675
0x34,0x12,0x68,0xda,0x00,0x00,0x00,0x00
16761676

1677-
# gfx12: ds_pk_add_bf16 v2, v1 ; encoding: [0x00,0x00,0x6c,0xda,0x02,0x01,0x00,0x00]
1677+
# GFX12: ds_pk_add_bf16 v2, v1 ; encoding: [0x00,0x00,0x6c,0xda,0x02,0x01,0x00,0x00]
16781678
0x00,0x00,0x6c,0xda,0x02,0x01,0x00,0x00
16791679

16801680
# GFX12: ds_pk_add_f16 v0, v0 offset:4660 ; encoding: [0x34,0x12,0x68,0xda,0x00,0x00,0x00,0x00]

llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ declare void @llvm.amdgcn.buffer.atomic.fadd.f32(float, <4 x i32>, i32, i32, i1)
670670
define amdgpu_cs void @test_buffer_atomic_fadd(float %val, <4 x i32> inreg %rsrc, i32 %vindex, i32 %offset, i1 %slc) {
671671
; CHECK: immarg operand has non-immediate parameter
672672
; CHECK-NEXT: i1 %slc
673-
; CHECK-ENXT: call void @llvm.amdgcn.buffer.atomic.fadd.f32(float %val, <4 x i32> %rsrc, i32 %vindex, i32 %offset, i1 %slc)
673+
; CHECK-NEXT: call void @llvm.amdgcn.buffer.atomic.fadd.f32(float %val, <4 x i32> %rsrc, i32 %vindex, i32 %offset, i1 %slc)
674674
call void @llvm.amdgcn.buffer.atomic.fadd.f32(float %val, <4 x i32> %rsrc, i32 %vindex, i32 %offset, i1 %slc)
675675
ret void
676676
}

0 commit comments

Comments
 (0)