Index: llvm/trunk/tools/llvm-mca/Scheduler.h =================================================================== --- llvm/trunk/tools/llvm-mca/Scheduler.h +++ llvm/trunk/tools/llvm-mca/Scheduler.h @@ -362,7 +362,7 @@ bool canBeIssued(const InstrDesc &Desc) const; void issueInstruction( - unsigned Index, const InstrDesc &Desc, + const InstrDesc &Desc, llvm::SmallVectorImpl> &Pipes); void cycleEvent(llvm::SmallVectorImpl &ResourcesFreed); Index: llvm/trunk/tools/llvm-mca/Scheduler.cpp =================================================================== --- llvm/trunk/tools/llvm-mca/Scheduler.cpp +++ llvm/trunk/tools/llvm-mca/Scheduler.cpp @@ -179,7 +179,7 @@ } void ResourceManager::issueInstruction( - unsigned Index, const InstrDesc &Desc, + const InstrDesc &Desc, SmallVectorImpl> &Pipes) { for (const std::pair &R : Desc.Resources) { const CycleSegment &CS = R.second.CS; @@ -350,7 +350,7 @@ // 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.