Remove default from fully covered switch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-03-08 17:03:19 +00:00
parent 35a4a0ca51
commit 7a58099f0a

View File

@ -3633,8 +3633,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
// illegal; expand it into a SELECT_CC.
EVT VT = Node->getValueType(0);
int TrueValue;
switch(TLI.getBooleanContents(VT.isVector())) {
default: assert(!"Unhandled BooleanContent value");
switch (TLI.getBooleanContents(VT.isVector())) {
case TargetLowering::ZeroOrOneBooleanContent:
case TargetLowering::UndefinedBooleanContent:
TrueValue = 1;