projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misched: Infrastructure for weak DAG edges.
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
ScheduleDAGVLIW.cpp
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
index 30f03ac737b92e67b3f5b73f33f5bac52c689063..f8ca7b1d407bb1daeab5588f7711c00be3deb88d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
@@
-123,6
+123,8
@@
void ScheduleDAGVLIW::releaseSucc(SUnit *SU, const SDep &D) {
llvm_unreachable(0);
}
#endif
+ assert(!D.isWeak() && "unexpected artificial DAG edge");
+
--SuccSU->NumPredsLeft;
SuccSU->setDepthToAtLeast(SU->getDepth() + D.getLatency());