summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-07-05 10:14:33 +0000
committerDuncan Sands <baldrick@free.fr>2012-07-05 10:14:33 +0000
commit71dacd09feee6d101306cbb4a058c1f81de17209 (patch)
tree4f85e01b1240582838d897774a2e03f7184c5fc4 /llvm/lib/CodeGen
parent1d5d23106e5a04db410b3cedb4552ec0808d9bd0 (diff)
downloadbcm5719-llvm-71dacd09feee6d101306cbb4a058c1f81de17209.tar.gz
bcm5719-llvm-71dacd09feee6d101306cbb4a058c1f81de17209.zip
All cases are covered, no need for a default. This deals with the
corresponding clang warning. llvm-svn: 159742
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 2aed0848002..891d401201f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2394,7 +2394,6 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
// constant being emitted.
uint64_t EqVal;
switch (getBooleanContents(N0.getValueType().isVector())) {
- default: llvm_unreachable("Unknown boolean contents!");
case UndefinedBooleanContent:
case ZeroOrOneBooleanContent:
EqVal = ISD::isTrueWhenEqual(Cond);
OpenPOWER on IntegriCloud