mi-sched: bypass heuristic checks when regpressure tracking is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick
2013-09-04 21:00:02 +00:00
parent 42ebb3ad41
commit 40b52bb8f2
3 changed files with 35 additions and 27 deletions
+3
View File
@@ -271,6 +271,9 @@ public:
virtual ~ScheduleDAGMI();
/// Return true if register pressure tracking is enabled.
bool shouldTrackPressure() const { return ShouldTrackPressure; }
/// Add a postprocessing step to the DAG builder.
/// Mutations are applied in the order that they are added after normal DAG
/// building and before MachineSchedStrategy initialization.