summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-04-04 04:42:42 +0000
committerCraig Topper <craig.topper@gmail.com>2012-04-04 04:42:42 +0000
commit4c7d99502979745e938445fcabf0f73cf6ad3b59 (patch)
tree0069c17ba970a03f0aa22281273ac1969ee3874f /llvm/lib/CodeGen
parentbf13895a4baa980187208dc2cfac8fb2985a1c15 (diff)
downloadbcm5719-llvm-4c7d99502979745e938445fcabf0f73cf6ad3b59.tar.gz
bcm5719-llvm-4c7d99502979745e938445fcabf0f73cf6ad3b59.zip
Remove default case from switch that was already covering all cases.
llvm-svn: 153996
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 460e284c001..e4a0016435c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2434,7 +2434,6 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
// We can always fold X == X for integer setcc's.
if (N0.getValueType().isInteger()) {
switch (getBooleanContents(N0.getValueType().isVector())) {
- default: llvm_unreachable ("Unknown boolean content.");
case UndefinedBooleanContent:
case ZeroOrOneBooleanContent:
return DAG.getConstant(ISD::isTrueWhenEqual(Cond), VT);
OpenPOWER on IntegriCloud