Skip to content

Commit 4923313

Browse files
authored
[RISCV] Fix typo in comment. NFC (#148754)
'unsigned' was misspelled, but it seemed easier to write uimm9 than to spell it out.
1 parent 31944ac commit 4923313

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2984,8 +2984,7 @@ bool RISCVDAGToDAGISel::SelectAddrRegImm(SDValue Addr, SDValue &Base,
29842984
return true;
29852985
}
29862986

2987-
/// Similar to SelectAddrRegImm, except that the offset restricted for
2988-
/// unsinged nine bits.
2987+
/// Similar to SelectAddrRegImm, except that the offset is restricted to uimm9.
29892988
bool RISCVDAGToDAGISel::SelectAddrRegImm9(SDValue Addr, SDValue &Base,
29902989
SDValue &Offset) {
29912990
if (SelectAddrFrameIndex(Addr, Base, Offset))

0 commit comments

Comments
 (0)