mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Fix r177112: Add ProcResGroup.
This is the other half of r177122 that I meant to commit at the same time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -656,6 +656,8 @@ void SubtargetEmitter::EmitProcessorResources(const CodeGenProcModel &ProcModel,
|
|||||||
PRDef->getValueAsDef("Super"), ProcModel);
|
PRDef->getValueAsDef("Super"), ProcModel);
|
||||||
SuperIdx = ProcModel.getProcResourceIdx(SuperDef);
|
SuperIdx = ProcModel.getProcResourceIdx(SuperDef);
|
||||||
}
|
}
|
||||||
|
NumUnits = PRDef->getValueAsInt("NumUnits");
|
||||||
|
IsBuffered = PRDef->getValueAsBit("Buffered");
|
||||||
}
|
}
|
||||||
// Emit the ProcResourceDesc
|
// Emit the ProcResourceDesc
|
||||||
if (i+1 == e)
|
if (i+1 == e)
|
||||||
@@ -881,7 +883,7 @@ void SubtargetEmitter::GenSchedClassTables(const CodeGenProcModel &ProcModel,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Writes.empty()) {
|
if (Writes.empty()) {
|
||||||
DEBUG(dbgs() << ProcModel.ItinsDef->getName()
|
DEBUG(dbgs() << ProcModel.ModelName
|
||||||
<< " does not have resources for itinerary class "
|
<< " does not have resources for itinerary class "
|
||||||
<< SCI->ItinClassDef->getName() << '\n');
|
<< SCI->ItinClassDef->getName() << '\n');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user