[llvm] r340570 - [llvm-mca] Fix parameter name. NFC.
Walter Lee via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 23 13:17:42 PDT 2018
Author: waltl
Date: Thu Aug 23 13:17:42 2018
New Revision: 340570
URL: http://llvm.org/viewvc/llvm-project?rev=340570&view=rev
Log:
[llvm-mca] Fix parameter name. NFC.
Modified:
llvm/trunk/tools/llvm-mca/Scheduler.cpp
Modified: llvm/trunk/tools/llvm-mca/Scheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/Scheduler.cpp?rev=340570&r1=340569&r2=340570&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/Scheduler.cpp (original)
+++ llvm/trunk/tools/llvm-mca/Scheduler.cpp Thu Aug 23 13:17:42 2018
@@ -117,8 +117,8 @@ ResourceManager::ResourceManager(const l
}
void ResourceManager::setCustomStrategyImpl(std::unique_ptr<ResourceStrategy> S,
- uint64_t ResourceID) {
- unsigned Index = getResourceStateIndex(ResourceID);
+ uint64_t ResourceMask) {
+ unsigned Index = getResourceStateIndex(ResourceMask);
assert(Index < Resources.size() && "Invalid processor resource index!");
assert(S && "Unexpected null strategy in input!");
Strategies[Index] = std::move(S);
More information about the llvm-commits
mailing list