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 | 07023fef3acd0d17af099f580d8d254e9d45eb87 (patch) | |
tree | e9c7f3c712e01f90a3d36348f45f3a38cc4b9d30 /lib/CodeGen | |
parent | e52d502f040fe60587772d40c9f498c10e2cfbdc (diff) | |
download | external_llvm-07023fef3acd0d17af099f580d8d254e9d45eb87.zip external_llvm-07023fef3acd0d17af099f580d8d254e9d45eb87.tar.gz external_llvm-07023fef3acd0d17af099f580d8d254e9d45eb87.tar.bz2 |
MI-Sched: Remove another heuristic that is sensitive to queue order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/MachineScheduler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index 5a9c4e4..55e5896 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/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. |