diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-24 17:33:52 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-24 17:33:52 +0000 |
commit | 942b8c853375ae6a3e84f4b0a70f6d4e194ea594 (patch) | |
tree | c6c70031b02a34c988e0f84015612fcc171f7d86 /lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | |
parent | 974b5f53f70294d6fb586c7a47fee505b3eaf1ae (diff) |
Check in the rest of this change. The isAntiDep flag needs to be passed
to removePred because an SUnit can both data-depend and anti-depend
on the same SUnit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index 55fd7e4abc..d0b8927abe 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp @@ -198,7 +198,7 @@ bool ScheduleDAGFast::AddPred(SUnit *Y, SUnit *X, bool isCtrl, /// the current node M. bool ScheduleDAGFast::RemovePred(SUnit *M, SUnit *N, bool isCtrl, bool isArtificial) { - return M->removePred(N, isCtrl, isArtificial); + return M->removePred(N, isCtrl, isArtificial, false); } /// CopyAndMoveSuccessors - Clone the specified node and move its scheduled |