projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary default cases in switches that cover all enum values.
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
LegalizeVectorTypes.cpp
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 6b267c311d8d96e48fa433ca9a3681c056579347..6aecca994a33ddca480a97b9c88c772d4d47e241 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@
-1565,9
+1565,6
@@
SDValue DAGTypeLegalizer::WidenVecRes_BITCAST(SDNode *N) {
DebugLoc dl = N->getDebugLoc();
switch (getTypeAction(InVT)) {
- default:
- assert(false && "Unknown type action!");
- break;
case TargetLowering::TypeLegal:
break;
case TargetLowering::TypePromoteInteger: