summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-08 17:03:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-08 17:03:19 +0000
commit0f12a5c2a48985b120f35986104ae899f49c9f0d (patch)
tree9bc563dde03684d5959612c9b6dc8bd51867ecb7 /llvm/lib/CodeGen
parent10a74ed43405683614c202dc92ec11b6f8edfb01 (diff)
downloadbcm5719-llvm-0f12a5c2a48985b120f35986104ae899f49c9f0d.tar.gz
bcm5719-llvm-0f12a5c2a48985b120f35986104ae899f49c9f0d.zip
Remove default from fully covered switch.
llvm-svn: 176703
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 743a9da0590..51cc254b2c8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -3633,8 +3633,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
// illegal; expand it into a SELECT_CC.
EVT VT = Node->getValueType(0);
int TrueValue;
- switch(TLI.getBooleanContents(VT.isVector())) {
- default: assert(!"Unhandled BooleanContent value");
+ switch (TLI.getBooleanContents(VT.isVector())) {
case TargetLowering::ZeroOrOneBooleanContent:
case TargetLowering::UndefinedBooleanContent:
TrueValue = 1;
OpenPOWER on IntegriCloud