summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-10-08 18:53:57 +0000
committerAndrew Trick <atrick@apple.com>2012-10-08 18:53:57 +0000
commit09650df562bb61106fc2f746c8de63ee53843b3f (patch)
tree690dc14c82e09b1bb920a62d40463644537717f9 /llvm/lib/CodeGen/SelectionDAG
parent984d98bf6a5259f8b67fd880a5d31b66ce32dffa (diff)
downloadbcm5719-llvm-09650df562bb61106fc2f746c8de63ee53843b3f.tar.gz
bcm5719-llvm-09650df562bb61106fc2f746c8de63ee53843b3f.zip
misched: remove forceUnitLatencies. Defaults are handled by the default SchedModel
llvm-svn: 165417
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
index 84e41fc4a1b..8e7bd822014 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
@@ -158,6 +158,12 @@ namespace llvm {
void InitNodeNumDefs();
};
+ protected:
+ /// ForceUnitLatencies - Return true if all scheduling edges should be given
+ /// a latency value of one. The default is to return false; schedulers may
+ /// override this as needed.
+ virtual bool forceUnitLatencies() const { return false; }
+
private:
/// ClusterNeighboringLoads - Cluster loads from "near" addresses into
/// combined SUnits.
OpenPOWER on IntegriCloud