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 | 5cc12a8e31832165dfec8e631d7efa85ea337dc5 (patch) | |
tree | afae12f9a08d133197d65466aaf89e173fbaa545 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | |
parent | d2b10368ed56a6e14db7cbc0e8a2c79774b44fb1 (diff) | |
download | bcm5719-llvm-5cc12a8e31832165dfec8e631d7efa85ea337dc5.tar.gz bcm5719-llvm-5cc12a8e31832165dfec8e631d7efa85ea337dc5.zip |
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.
llvm-svn: 59969
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index 55fd7e4abc0..d0b8927abeb 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/llvm/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 |