aboutsummaryrefslogtreecommitdiff
path: root/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
commit8d41a1a7e68164d36d5332aa82d871902000db5b (patch)
tree39e0506bf9c1e259efb546b49591bea1fae493d7 /lib/CodeGen
parente5ae51a38f156ae7bfa50fc6b27d0042793e8fd1 (diff)
Remove default case from switch that was already covering all cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 460e284c00..e4a0016435 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/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);