forked from OSchip/llvm-project
All cases are covered, no need for a default. This deals with the
corresponding clang warning. llvm-svn: 159742
This commit is contained in:
parent
1d5d23106e
commit
71dacd09fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue