Skip to content

Commit e717e50

Browse files
authored
[AMDGPU] Fix comment on DelayInfo::advance (#146718)
1 parent 3c0571a commit e717e50

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,9 @@ class AMDGPUInsertDelayAlu {
156156
SALUCycles = std::max(SALUCycles, RHS.SALUCycles);
157157
}
158158

159-
// Update this DelayInfo after issuing an instruction. IsVALU should be 1
160-
// when issuing a (non-TRANS) VALU, else 0. IsTRANS should be 1 when issuing
161-
// a TRANS, else 0. Cycles is the number of cycles it takes to issue the
162-
// instruction. Return true if there is no longer any useful delay info.
159+
// Update this DelayInfo after issuing an instruction of the specified type.
160+
// Cycles is the number of cycles it takes to issue the instruction. Return
161+
// true if there is no longer any useful delay info.
163162
bool advance(DelayType Type, unsigned Cycles) {
164163
bool Erase = true;
165164

0 commit comments

Comments
 (0)