Convert assert(0) to llvm_unreachable
[oota-llvm.git] / lib / Target / MBlaze / MBlazeISelLowering.cpp
index 9b09da02265514cb3187253dcd1c115825678a41..9d2805ccb048dd51f4e91c02940b6f212556d136 100644 (file)
@@ -216,7 +216,7 @@ MBlazeTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
                                                   MachineBasicBlock *MBB)
                                                   const {
   switch (MI->getOpcode()) {
-  default: assert(false && "Unexpected instr type to insert");
+  default: llvm_unreachable("Unexpected instr type to insert");
 
   case MBlaze::ShiftRL:
   case MBlaze::ShiftRA: