mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
TargetInstrInfo::hasOperandInterlock() is always true, because it is
never overridden by any target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1045,11 +1045,6 @@ NodeCanFillDelaySlot(const SchedulingManager& S,
|
||||
&& (*EI)->getDepType() == SchedGraphEdge::CtrlDep)
|
||||
return false;
|
||||
|
||||
// for now, don't put an instruction that does not have operand
|
||||
// interlocks in the delay slot of a branch
|
||||
if (! S.getInstrInfo().hasOperandInterlock(node->getOpcode()))
|
||||
return false;
|
||||
|
||||
// Finally, if the instruction precedes the branch, we make sure the
|
||||
// instruction can be reordered relative to the branch. We simply check
|
||||
// if the instr. has only 1 outgoing edge, viz., a CD edge to the branch.
|
||||
@@ -1326,11 +1321,7 @@ DelaySlotInfo::scheduleDelayedNode(SchedulingManager& S)
|
||||
const SchedGraphNode* dnode = delayNodeVec[i];
|
||||
if ( ! S.isScheduled(dnode)
|
||||
&& S.schedInfo.instrCanUseSlot(dnode->getOpcode(), nextSlot)
|
||||
&& instrIsFeasible(S, dnode->getOpcode()))
|
||||
{
|
||||
assert(S.getInstrInfo().hasOperandInterlock(dnode->getOpcode())
|
||||
&& "Instructions without interlocks not yet supported "
|
||||
"when filling branch delay slots");
|
||||
&& instrIsFeasible(S, dnode->getOpcode())) {
|
||||
S.scheduleInstr(dnode, nextSlot, nextTime);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user