[llvm] r260501 - [TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 23:39:27 PST 2016
Author: ctopper
Date: Thu Feb 11 01:39:27 2016
New Revision: 260501
URL: http://llvm.org/viewvc/llvm-project?rev=260501&view=rev
Log:
[TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file.
Modified:
llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp
Modified: llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp?rev=260501&r1=260500&r2=260501&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp Thu Feb 11 01:39:27 2016
@@ -339,11 +339,9 @@ void InstrInfoEmitter::emitOperandTypesE
// run - Emit the main instruction description records for the target...
void InstrInfoEmitter::run(raw_ostream &OS) {
- emitSourceFileHeader("Target Instruction Enum Values", OS);
+ emitSourceFileHeader("Target Instruction Enum Values and Descriptors", OS);
emitEnums(OS);
- emitSourceFileHeader("Target Instruction Descriptors", OS);
-
OS << "#ifdef GET_INSTRINFO_MC_DESC\n";
OS << "#undef GET_INSTRINFO_MC_DESC\n";
More information about the llvm-commits
mailing list