[PATCH] D46142: [MCA] [NFC] Remove unused Index formal from ResourceManager::issueInstruction
Matt Davis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 26 15:34:03 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331001: [MCA] [NFC] Remove unused Index formal from ResourceManager::issueInstruction (authored by mattd, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D46142?vs=144181&id=144223#toc
Repository:
rL LLVM
https://reviews.llvm.org/D46142
Files:
llvm/trunk/tools/llvm-mca/Scheduler.cpp
llvm/trunk/tools/llvm-mca/Scheduler.h
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<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 @@
// 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.
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<std::pair<ResourceRef, double>> &Pipes);
void cycleEvent(llvm::SmallVectorImpl<ResourceRef> &ResourcesFreed);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46142.144223.patch
Type: text/x-patch
Size: 1416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180426/fdd20816/attachment-0001.bin>
More information about the llvm-commits
mailing list