Skip to content

Commit 766f0c0

Browse files
committed
[TableGen] Remove dummy UINT64_C(0) from end of InstBits table.
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 17eb05d commit 766f0c0

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)