From 700676087f338ff8eae3b90d34095df88a7b6c46 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 18 Sep 2009 18:10:19 +0000 Subject: [PATCH] add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82236 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/AsmWriterEmitter.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 720abe92360..29bcb399ad6 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -746,6 +746,11 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) { // elements in the vector. std::reverse(Instructions.begin(), Instructions.end()); + + // Now that we've emitted all of the operand info that fit into 32 bits, emit + // information for those instructions that are left. This is a less dense + // encoding, but we expect the main 32-bit table to handle the majority of + // instructions. if (!Instructions.empty()) { // Find the opcode # of inline asm. O << " switch (MI->getOpcode()) {\n";