Added MachineSchedPolicy.
authorAndrew Trick <atrick@apple.com>
Fri, 6 Sep 2013 17:32:34 +0000 (17:32 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 6 Sep 2013 17:32:34 +0000 (17:32 +0000)
commit38e61122f27a8ca4ef0578eaf6dc5242880d2918
treecd143efdeeeab78bbea3b09a1c70310a8701f74d
parent1bcff6cffa30c2fdcf0eac80ef9551429b38f25d
Added MachineSchedPolicy.

Allow subtargets to customize the generic scheduling strategy.
This is convenient for targets that don't need to add new heuristics
by specializing the strategy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190176 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineScheduler.h
include/llvm/Target/TargetSubtargetInfo.h
lib/CodeGen/MachineScheduler.cpp