diff options
author | Momchil Velikov <momchil.velikov@arm.com> | 2019-05-10 16:54:32 +0000 |
---|---|---|
committer | Momchil Velikov <momchil.velikov@arm.com> | 2019-05-10 16:54:32 +0000 |
commit | c396f09ce96e56260cc7d5d3398615904b473265 (patch) | |
tree | f2334f10b3a0b77d693c970b7b65b6d648bb200a /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | 61504079515f76ca094bb836c4d53b41064220d6 (diff) | |
download | bcm5719-llvm-c396f09ce96e56260cc7d5d3398615904b473265.tar.gz bcm5719-llvm-c396f09ce96e56260cc7d5d3398615904b473265.zip |
Adjust MachineScheduler to use ProcResource counts
This fix allows the scheduler to take into account the number of instances of
each ProcResource specified. Previously a declaration in a scheduler of
ProcResource<1> would be treated identically to a declaration of
ProcResource<2>. Now the hazard recognizer would report a hazard only after all
of the resource instances are busy.
Patch by Jackson Woodruff and Momchil Velikov.
Differential Revision: https://reviews.llvm.org/D51160
llvm-svn: 360441
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions