summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-07-26 20:38:49 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-07-26 20:38:49 +0000
commit06b8b571b2f9e700da569f886f925178a12079e1 (patch)
tree11eec241d2dc58dfc446cab9b2c146b654163052 /llvm/lib/CodeGen
parent5a1d214c4a74a0463f79e97fba34ab6215bf40ea (diff)
downloadbcm5719-llvm-06b8b571b2f9e700da569f886f925178a12079e1.tar.gz
bcm5719-llvm-06b8b571b2f9e700da569f886f925178a12079e1.zip
Add obvious missing case to switch. PR10497.
llvm-svn: 136130
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index c8454bf28ee..8747d276e78 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -524,12 +524,11 @@ void DAGTypeLegalizer::SplitVecRes_BITCAST(SDNode *N, SDValue &Lo,
// Handle some special cases efficiently.
switch (getTypeAction(InVT)) {
- default:
- assert(false && "Unknown type action!");
case TargetLowering::TypeLegal:
case TargetLowering::TypePromoteInteger:
case TargetLowering::TypeSoftenFloat:
case TargetLowering::TypeScalarizeVector:
+ case TargetLowering::TypeWidenVector:
break;
case TargetLowering::TypeExpandInteger:
case TargetLowering::TypeExpandFloat:
OpenPOWER on IntegriCloud