forked from OSchip/llvm-project
Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default)
llvm-svn: 234760
This commit is contained in:
parent
d579048464
commit
155f38e0d8
|
@ -1649,7 +1649,6 @@ void DAGTypeLegalizer::ExpandIntRes_ADDSUB(SDNode *N,
|
|||
SDValue OVF = Lo.getValue(1);
|
||||
|
||||
switch (BoolType) {
|
||||
default:
|
||||
case TargetLoweringBase::UndefinedBooleanContent:
|
||||
OVF = DAG.getNode(ISD::AND, dl, NVT, DAG.getConstant(1, NVT), OVF);
|
||||
// Fallthrough
|
||||
|
|
Loading…
Reference in New Issue