diff options
author | Andrew Trick <atrick@apple.com> | 2012-11-13 02:35:06 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-11-13 02:35:06 +0000 |
commit | cf6b6131dd0da37903a6e3a5173ea12aa8263713 (patch) | |
tree | bd340b29599c75a0b067d01c723cb7b7d27addb8 /lib/CodeGen/PostRASchedulerList.cpp | |
parent | e7ff4c14b157746b3e0228d2dce9f70712d1c126 (diff) |
misched: Don't consider artificial edges weak edges.
For now be more conservative in case other out-of-tree schedulers rely
on the old behavior of artificial edges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r-- | lib/CodeGen/PostRASchedulerList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index 4284c42eb2..f37fc82b2a 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/lib/CodeGen/PostRASchedulerList.cpp @@ -581,7 +581,7 @@ void SchedulePostRATDList::FixupKills(MachineBasicBlock *MBB) { void SchedulePostRATDList::ReleaseSucc(SUnit *SU, SDep *SuccEdge) { SUnit *SuccSU = SuccEdge->getSUnit(); - if (SuccEdge->isArtificial()) { + if (SuccEdge->isWeak()) { --SuccSU->WeakPredsLeft; return; } |