aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit24f05334e60bd2b2b614d5eb72ee6c92ad0a9bc8 (patch)
treed478ed319dd5ba9ed98a9f74dedb1830d770015b /lib/CodeGen
parentbe9a9afee58a1d62f528c6b30bf835c95e2b8bab (diff)
downloadexternal_llvm-24f05334e60bd2b2b614d5eb72ee6c92ad0a9bc8.zip
external_llvm-24f05334e60bd2b2b614d5eb72ee6c92ad0a9bc8.tar.gz
external_llvm-24f05334e60bd2b2b614d5eb72ee6c92ad0a9bc8.tar.bz2
Add obvious missing case to switch. PR10497.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index c8454bf..8747d27 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/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: