Remove useMachineScheduler and replace it with subtarget options
authorEric Christopher <echristo@gmail.com>
Wed, 11 Mar 2015 22:56:10 +0000 (22:56 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 11 Mar 2015 22:56:10 +0000 (22:56 +0000)
commitfba5b65942f81ece926eeb4114f41cb27fdcb9d7
tree5392f4876292afa5e44b19567b0e82ccd561abb4
parent85aa6fd74119140a1b8c995581d7af13a872058d
Remove useMachineScheduler and replace it with subtarget options
that control, individually, all of the disparate things it was
controlling.

At the same time move a FIXME in the Hexagon port to a new
subtarget function that will enable a user of the machine
scheduler to avoid using the source scheduler for pre-RA-scheduling.
The FIXME would have this removed, but involves either testcase
changes or adding -pre-RA-sched=source to a few testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231980 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSubtargetInfo.h
lib/CodeGen/MachineScheduler.cpp
lib/CodeGen/Passes.cpp
lib/CodeGen/RegisterCoalescer.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/Hexagon/HexagonSubtarget.cpp
lib/Target/Hexagon/HexagonSubtarget.h
lib/Target/Hexagon/HexagonTargetMachine.cpp
lib/Target/TargetSubtargetInfo.cpp