From e5ae51a38f156ae7bfa50fc6b27d0042793e8fd1 Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Wed, 4 Apr 2012 00:53:04 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index aa92cc3638b..5f23f01dafb 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: