diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-04-12 07:21:39 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-04-12 07:21:39 +0000 |
| commit | e8f1ac7063c9d3fb09d7df081356508bcece3ec8 (patch) | |
| tree | 3dd131df120cf29290db575d282e43870458b29a /llvm/lib/CodeGen/SpillPlacement.cpp | |
| parent | 46300d1ff66d2d3ea4deb48cb5f304b16382867f (diff) | |
| download | bcm5719-llvm-e8f1ac7063c9d3fb09d7df081356508bcece3ec8.tar.gz bcm5719-llvm-e8f1ac7063c9d3fb09d7df081356508bcece3ec8.zip | |
[MachineScheduler] NFC refactoring
This patch makes tryCandidate() virtual and some utility functions like
tryLess(), tryGreater(), ... externally available (used to be static).
This makes it possible for a target to derive a new MachineSchedStrategy from
GenericScheduler and reuse most parts.
It was necessary to wrap functions with the same names in
AMDGPU/SIMachineScheduler in a local namespace.
Review: Andy Trick, Florian Hahn
https://reviews.llvm.org/D43329
llvm-svn: 329884
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.cpp')
0 files changed, 0 insertions, 0 deletions

