forked from OSchip/llvm-project
Removed useless switch for default case when switch was covering all the enum values
llvm-svn: 153984
This commit is contained in:
parent
9781893507
commit
e7bff68a5e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue