mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[llvm-mca] Fix parameter name. NFC.
llvm-svn: 340570
This commit is contained in:
parent
e17d15a8af
commit
4105a127d9
@ -117,8 +117,8 @@ ResourceManager::ResourceManager(const llvm::MCSchedModel &SM)
|
||||
}
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user