Skip to content

Commit 4059faf

Browse files
committed
[TableGen] Update comment for size of NumToSkip field in DecoderEmitter. NFC
NumToSkip is 24 bits. It used to be 16 bits.
1 parent 159b872 commit 4059faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ static void resolveTableFixups(DecoderTable &Table, const FixupList &Fixups,
681681
for (FixupList::const_reverse_iterator I = Fixups.rbegin(), E = Fixups.rend();
682682
I != E; ++I) {
683683
// Calculate the distance from the byte following the fixup entry byte
684-
// to the destination. The Target is calculated from after the 16-bit
684+
// to the destination. The Target is calculated from after the 24-bit
685685
// NumToSkip entry itself, so subtract two from the displacement here
686686
// to account for that.
687687
uint32_t FixupIdx = *I;

0 commit comments

Comments
 (0)