Deleted Added
full compact
25a26
> #include "llvm/CodeGen/MachineInstrBundle.h"
2224,2229c2225,2229
< // If we are the operands of one of the branches, this is not
< // a fall through.
< for (MachineInstr::mop_iterator OI = MI.operands_begin(),
< OE = MI.operands_end(); OI != OE; ++OI) {
< const MachineOperand& OP = *OI;
< if (OP.isJTI())
---
> // If we are the operands of one of the branches, this is not a fall
> // through. Note that targets with delay slots will usually bundle
> // terminators with the delay slot instruction.
> for (ConstMIBundleOperands OP(&MI); OP.isValid(); ++OP) {
> if (OP->isJTI())
2231c2231
< if (OP.isMBB() && OP.getMBB() == MBB)
---
> if (OP->isMBB() && OP->getMBB() == MBB)