projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert assert(0) to llvm_unreachable
[oota-llvm.git]
/
lib
/
Target
/
MBlaze
/
MBlazeISelLowering.cpp
diff --git
a/lib/Target/MBlaze/MBlazeISelLowering.cpp
b/lib/Target/MBlaze/MBlazeISelLowering.cpp
index 9b09da02265514cb3187253dcd1c115825678a41..9d2805ccb048dd51f4e91c02940b6f212556d136 100644
(file)
--- a/
lib/Target/MBlaze/MBlazeISelLowering.cpp
+++ b/
lib/Target/MBlaze/MBlazeISelLowering.cpp
@@
-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: