mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fix r177112: Add ProcResGroup.
This is the other half of r177122 that I meant to commit at the same time. llvm-svn: 177123
This commit is contained in:
parent
4d174fdcd0
commit
aab9978611
@ -656,6 +656,8 @@ void SubtargetEmitter::EmitProcessorResources(const CodeGenProcModel &ProcModel,
|
||||
PRDef->getValueAsDef("Super"), ProcModel);
|
||||
SuperIdx = ProcModel.getProcResourceIdx(SuperDef);
|
||||
}
|
||||
NumUnits = PRDef->getValueAsInt("NumUnits");
|
||||
IsBuffered = PRDef->getValueAsBit("Buffered");
|
||||
}
|
||||
// Emit the ProcResourceDesc
|
||||
if (i+1 == e)
|
||||
@ -881,7 +883,7 @@ void SubtargetEmitter::GenSchedClassTables(const CodeGenProcModel &ProcModel,
|
||||
}
|
||||
}
|
||||
if (Writes.empty()) {
|
||||
DEBUG(dbgs() << ProcModel.ItinsDef->getName()
|
||||
DEBUG(dbgs() << ProcModel.ModelName
|
||||
<< " does not have resources for itinerary class "
|
||||
<< SCI->ItinClassDef->getName() << '\n');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user