diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 2aed08480028..891d401201f2 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);