mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-16 00:33:10 +00:00
Equal treatment of labels and other terminators in MI DAG construction.
MI sched DAG construction allows targets to include terminators into scheduling DAG. Extend this functionality to labels as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e38825f490
commit
91231a6dc7
@ -746,7 +746,7 @@ void ScheduleDAGInstrs::buildSchedGraph(AliasAnalysis *AA,
|
||||
assert(RPTracker->getPos() == prior(MII) && "RPTracker can't find MI");
|
||||
}
|
||||
|
||||
assert((!MI->isTerminator() || CanHandleTerminators) && !MI->isLabel() &&
|
||||
assert((CanHandleTerminators || (!MI->isTerminator() && !MI->isLabel())) &&
|
||||
"Cannot schedule terminators or labels!");
|
||||
|
||||
SUnit *SU = MISUnitMap[MI];
|
||||
|
Loading…
x
Reference in New Issue
Block a user