summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-04-13 16:37:50 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-04-13 16:37:50 +0000
commit155f38e0d8211cfb55949c59f2bb1dcc772bacff (patch)
treec5c1fb9d74dffeaa8631ee511ad19658d677cde1 /llvm/lib/CodeGen/SelectionDAG
parentd579048464395f68ce45507f1d10204db8b36ce0 (diff)
downloadbcm5719-llvm-155f38e0d8211cfb55949c59f2bb1dcc772bacff.tar.gz
bcm5719-llvm-155f38e0d8211cfb55949c59f2bb1dcc772bacff.zip
Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default)
llvm-svn: 234760
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index e4a796e5478..e4fc3ff318f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud