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) {
|
if (ScalarBool != VecBool) {
|
||||||
EVT CondVT = Cond.getValueType();
|
EVT CondVT = Cond.getValueType();
|
||||||
switch (ScalarBool) {
|
switch (ScalarBool) {
|
||||||
default: llvm_unreachable("Unknown boolean content enum");
|
|
||||||
case TargetLowering::UndefinedBooleanContent:
|
case TargetLowering::UndefinedBooleanContent:
|
||||||
break;
|
break;
|
||||||
case TargetLowering::ZeroOrOneBooleanContent:
|
case TargetLowering::ZeroOrOneBooleanContent:
|
||||||
|
|
Loading…
Reference in New Issue