summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-04-12 07:21:39 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-04-12 07:21:39 +0000
commite8f1ac7063c9d3fb09d7df081356508bcece3ec8 (patch)
tree3dd131df120cf29290db575d282e43870458b29a /llvm/lib/CodeGen/LiveVariables.cpp
parent46300d1ff66d2d3ea4deb48cb5f304b16382867f (diff)
downloadbcm5719-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/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud