Skip to content

Commit 478b470

Browse files
tclin914miguelcsx
authored andcommitted
[RISCV] Fix comment typo and indentation for class SchedNary. NFC.
1 parent f1bbd5e commit 478b470

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,17 @@ class SchedCommon<list<SchedWrite> writes, list<SchedRead> reads,
138138
}
139139

140140
// Common class of scheduling definitions for n-ary instructions.
141-
// The scheudling resources are relevant to LMUL and may be relevant to SEW.
141+
// The scheduling resources are relevant to LMUL and may be relevant to SEW.
142142
class SchedNary<string write, list<string> reads, string mx, int sew = 0,
143143
bit forceMasked = 0, bit forcePassthruRead = 0>
144144
: SchedCommon<[!cast<SchedWrite>(
145-
!if(sew,
146-
write # "_" # mx # "_E" # sew,
147-
write # "_" # mx))],
145+
!if(sew,
146+
write # "_" # mx # "_E" # sew,
147+
write # "_" # mx))],
148148
!foreach(read, reads,
149-
!cast<SchedRead>(!if(sew, read #"_" #mx #"_E" #sew,
150-
read #"_" #mx))),
149+
!cast<SchedRead>(!if(sew,
150+
read # "_" # mx # "_E" #sew,
151+
read # "_" # mx))),
151152
mx, sew, forceMasked, forcePassthruRead>;
152153

153154
// Classes with postfix "MC" are only used in MC layer.

0 commit comments

Comments
 (0)