diff options
author | Andrew Trick <atrick@apple.com> | 2013-06-17 21:45:07 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-06-17 21:45:07 +0000 |
commit | 7e63046ce9542d910b7eeb16fabc909182e1f81d (patch) | |
tree | 47def594033f4e489024c739fc03330f90f713f1 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | d40d0f2c1b2a59b9e6cb24c19d0969f22b998e1c (diff) | |
download | bcm5719-llvm-7e63046ce9542d910b7eeb16fabc909182e1f81d.tar.gz bcm5719-llvm-7e63046ce9542d910b7eeb16fabc909182e1f81d.zip |
MI-Sched: Remove another heuristic that is sensitive to queue order.
llvm-svn: 184130
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index 5a9c4e45132..55e58969a04 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -2113,15 +2113,9 @@ void ConvergingScheduler::tryCandidate(SchedCandidate &Cand, return; // Weak edges are for clustering and other constraints. - // - // Deferring TryCand here does not change Cand's reason. This is good in the - // sense that a bad candidate shouldn't affect a previous candidate's - // goodness, but bad in that it is assymetric and depends on queue order. - CandReason OrigReason = Cand.Reason; if (tryLess(getWeakLeft(TryCand.SU, Zone.isTop()), getWeakLeft(Cand.SU, Zone.isTop()), TryCand, Cand, Weak)) { - Cand.Reason = OrigReason; return; } // Avoid critical resource consumption and balance the schedule. |