OSDN Git Service

[NFC] Update comments regarding BufferSize for ProcResources
authorJinsong Ji <jji@us.ibm.com>
Tue, 18 Sep 2018 15:38:56 +0000 (15:38 +0000)
committerJinsong Ji <jji@us.ibm.com>
Tue, 18 Sep 2018 15:38:56 +0000 (15:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342491 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/SubtargetEmitter.cpp

index 5153bba..3ef6f35 100644 (file)
@@ -780,7 +780,7 @@ void SubtargetEmitter::EmitProcessorResources(const CodeGenProcModel &ProcModel,
                                               raw_ostream &OS) {
   EmitProcessorResourceSubUnits(ProcModel, OS);
 
-  OS << "\n// {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}\n";
+  OS << "\n// {Name, NumUnits, SuperIdx, BufferSize, SubUnitsIdxBegin}\n";
   OS << "static const llvm::MCProcResourceDesc " << ProcModel.ModelName
      << "ProcResources"
      << "[] = {\n"