forked from OSchip/llvm-project
[MCA] [NFC] Remove unused Index formal from ResourceManager::issueInstruction
Summary: The instruction index was never referenced in the body. Just a minor cleanup. Reviewers: andreadb Reviewed By: andreadb Subscribers: javed.absar, gbedwell, llvm-commits Differential Revision: https://reviews.llvm.org/D46142 llvm-svn: 331001
This commit is contained in:
parent
1b1f97ac60
commit
ad78e6673c
|
@ -179,7 +179,7 @@ bool ResourceManager::mustIssueImmediately(const InstrDesc &Desc) {
|
|||
}
|
||||
|
||||
void ResourceManager::issueInstruction(
|
||||
unsigned Index, const InstrDesc &Desc,
|
||||
const InstrDesc &Desc,
|
||||
SmallVectorImpl<std::pair<ResourceRef, double>> &Pipes) {
|
||||
for (const std::pair<uint64_t, ResourceUsage> &R : Desc.Resources) {
|
||||
const CycleSegment &CS = R.second.CS;
|
||||
|
@ -350,7 +350,7 @@ void Scheduler::issueInstructionImpl(
|
|||
|
||||
// Issue the instruction and collect all the consumed resources
|
||||
// into a vector. That vector is then used to notify the listener.
|
||||
Resources->issueInstruction(InstrIndex, D, UsedResources);
|
||||
Resources->issueInstruction(D, UsedResources);
|
||||
|
||||
// Notify the instruction that it started executing.
|
||||
// This updates the internal state of each write.
|
||||
|
|
|
@ -362,7 +362,7 @@ public:
|
|||
bool canBeIssued(const InstrDesc &Desc) const;
|
||||
|
||||
void issueInstruction(
|
||||
unsigned Index, const InstrDesc &Desc,
|
||||
const InstrDesc &Desc,
|
||||
llvm::SmallVectorImpl<std::pair<ResourceRef, double>> &Pipes);
|
||||
|
||||
void cycleEvent(llvm::SmallVectorImpl<ResourceRef> &ResourcesFreed);
|
||||
|
|
Loading…
Reference in New Issue