Skip to content

Commit 7c83482

Browse files
committed
Rename opreands, comments
1 parent 30948d4 commit 7c83482

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

llvm/lib/Target/AMDGPU/LDSDIRInstructions.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- LDSDIRInstructions.td - LDS/DS Direct Instruction Definitions -----===//
1+
//===-- DSDIRInstructions.td - LDS/VDS Direct Instruction Definitions -----===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -59,8 +59,8 @@ class LDSDIR_getIns<bit direct> {
5959

6060
class VDSDIR_getIns<bit direct> {
6161
dag ret = !if(direct,
62-
(ins WaitVAVDst:$waitvdst, WaitVMVSrc:$waitvsrc),
63-
(ins InterpAttr:$attr, InterpAttrChan:$attrchan, WaitVAVDst:$waitvdst, WaitVMVSrc:$waitvsrc)
62+
(ins wait_va_vdst:$waitvdst, wait_va_vsrc:$waitvsrc),
63+
(ins InterpAttr:$attr, InterpAttrChan:$attrchan, wait_va_vdst:$waitvdst, wait_va_vsrc:$waitvsrc)
6464
);
6565
}
6666

@@ -116,7 +116,7 @@ class DSDIR_Real<DSDIR_Pseudo lds, dag ins, string asm, int subtarget> :
116116
}
117117

118118
//===----------------------------------------------------------------------===//
119-
// LDS/DS Direct Instructions
119+
// LDS/VDS Direct Instructions
120120
//===----------------------------------------------------------------------===//
121121

122122
let SubtargetPredicate = isGFX11Only in {

llvm/lib/Target/AMDGPU/SIInstrInfo.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,8 +1136,8 @@ def exp_tgt : CustomOperand<i32, 0, "ExpTgt">;
11361136

11371137
def wait_vdst : NamedIntOperand<i8, "wait_vdst", "WaitVDST">;
11381138
def wait_exp : NamedIntOperand<i8, "wait_exp", "WaitEXP">;
1139-
def WaitVAVDst : NamedIntOperand<i8, "wait_va_vdst">;
1140-
def WaitVMVSrc : NamedIntOperand<i8, "wait_vm_vsrc">;
1139+
def wait_va_vdst : NamedIntOperand<i8, "wait_va_vdst", "WaitVAVDst">;
1140+
def wait_va_vsrc : NamedIntOperand<i8, "wait_vm_vsrc", "WaitVMVSrc">;
11411141

11421142
class KImmFPOperand<ValueType vt> : ImmOperand<vt> {
11431143
let OperandNamespace = "AMDGPU";

0 commit comments

Comments
 (0)