[llvm] r257580 - [TableGen] Fix up some stale comments in the AsmMatcher. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 23:20:08 PST 2016


Author: ctopper
Date: Wed Jan 13 01:20:07 2016
New Revision: 257580

URL: http://llvm.org/viewvc/llvm-project?rev=257580&view=rev
Log:
[TableGen] Fix up some stale comments in the AsmMatcher. NFC

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=257580&r1=257579&r2=257580&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp Wed Jan 13 01:20:07 2016
@@ -291,8 +291,6 @@ void AsmWriterEmitter::EmitPrintInstruct
 
   /// OpcodeInfo - This encodes the index of the string to use for the first
   /// chunk of the output as well as indices used for operand printing.
-  /// To reduce the number of unhandled cases, we expand the size from 32-bit
-  /// to 32+16 = 48-bit.
   std::vector<uint64_t> OpcodeInfo;
 
   // Add all strings to the string table upfront so it can generate an optimized
@@ -495,9 +493,9 @@ void AsmWriterEmitter::EmitPrintInstruct
   std::reverse(Instructions.begin(), Instructions.end());
 
 
-  // Now that we've emitted all of the operand info that fit into 32 bits, emit
+  // Now that we've emitted all of the operand info that fit into 64 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
+  // encoding, but we expect the main 64-bit table to handle the majority of
   // instructions.
   if (!Instructions.empty()) {
     // Find the opcode # of inline asm.




More information about the llvm-commits mailing list