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
/
ARM
/
ARMFastISel.cpp
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index 129130355336c7e1848e350f2564227f09e95b71..904e9171c87812b0ebfc162394ad9e3a6fcb3ff5 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-881,9
+881,7
@@
void ARMFastISel::ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3) {
bool needsLowering = false;
switch (VT.getSimpleVT().SimpleTy) {
- default:
- assert(false && "Unhandled load/store type!");
- break;
+ default: llvm_unreachable("Unhandled load/store type!");
case MVT::i1:
case MVT::i8:
case MVT::i16: