[llvm-commits] [llvm] r82236 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp

Chris Lattner sabre at nondot.org
Fri Sep 18 11:10:19 PDT 2009


Author: lattner
Date: Fri Sep 18 13:10:19 2009
New Revision: 82236

URL: http://llvm.org/viewvc/llvm-project?rev=82236&view=rev
Log:
add a comment.

Modified:
    llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp

Modified: llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp?rev=82236&r1=82235&r2=82236&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp Fri Sep 18 13:10:19 2009
@@ -746,6 +746,11 @@
   // 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";





More information about the llvm-commits mailing list