Skip to content

Commit c91f7dc

Browse files
authored
[TableGen] Remove dummy UINT64_C(0) from end of InstBits table. NFC (#154778)
I suspect this originally existed to avoid a trailing comma from the previous entry. C++ allows trailing commas in arrays so this isn't necessary.
1 parent 1a09581 commit c91f7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/CodeEmitterGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ void CodeEmitterGen::emitInstructionBaseValues(
440440
emitInstBits(O, Value);
441441
O << "," << '\t' << "// " << R->getName() << "\n";
442442
}
443-
O << " UINT64_C(0)\n };\n";
443+
O << " };\n";
444444
}
445445

446446
void CodeEmitterGen::emitCaseMap(

0 commit comments

Comments
 (0)