aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2012-04-04 00:53:04 +0000
committerPete Cooper <peter_cooper@apple.com>2012-04-04 00:53:04 +0000
commite5ae51a38f156ae7bfa50fc6b27d0042793e8fd1 (patch)
tree2b5def52d9fda8331c6aa6c1817a91d35a80a6bb /lib/CodeGen
parenta348fecf2fab7bf075b1dfcd02dfa36d16df7659 (diff)
Removed useless switch for default case when switch was covering all the enum values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index aa92cc3638..5f23f01daf 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -235,7 +235,6 @@ SDValue DAGTypeLegalizer::ScalarizeVecRes_VSELECT(SDNode *N) {
if (ScalarBool != VecBool) {
EVT CondVT = Cond.getValueType();
switch (ScalarBool) {
- default: llvm_unreachable("Unknown boolean content enum");
case TargetLowering::UndefinedBooleanContent:
break;
case TargetLowering::ZeroOrOneBooleanContent: