projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default)
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
LegalizeIntegerTypes.cpp
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index e4a796e547800eba2a2c64421a30e505a8b252f0..e4fc3ff318fb3a0e234db96a4e3ea26bfa5de462 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@
-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