Hexagon: Use llvm_unreachable. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2016-08-03 15:51:10 +00:00
parent 305565bab3
commit e7cee5a7a3

View File

@ -142,7 +142,7 @@ bool HexagonVectorPrint::runOnMachineFunction(MachineFunction &Fn) {
DEBUG(dbgs() << "Evaluating V MI\n"; I->dump());
unsigned Reg = 0;
if (!getInstrVecReg(*I, Reg))
assert(!"Need a vector reg");
llvm_unreachable("Need a vector reg");
MachineBasicBlock::instr_iterator MII = I->getIterator();
if (I->isInsideBundle()) {
DEBUG(dbgs() << "add to end of bundle\n"; I->dump());