diff options
Diffstat (limited to 'llvm/tools/llvm-mca/Scheduler.cpp')
-rw-r--r-- | llvm/tools/llvm-mca/Scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/Scheduler.cpp b/llvm/tools/llvm-mca/Scheduler.cpp index 77c6745684a..ead32260ec5 100644 --- a/llvm/tools/llvm-mca/Scheduler.cpp +++ b/llvm/tools/llvm-mca/Scheduler.cpp @@ -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. |