diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp --- a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp +++ b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp @@ -184,7 +184,8 @@ return true; // Cannot handle indirect branches. - if (I->getOpcode() == MSP430::Br || + if (I->getOpcode() == MSP430::Bi || + I->getOpcode() == MSP430::Br || I->getOpcode() == MSP430::Bm) return true;