mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-28 17:23:27 +00:00
All cases are covered, no need for a default. This deals with the
corresponding clang warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2394,7 +2394,6 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
|
|||||||
// constant being emitted.
|
// constant being emitted.
|
||||||
uint64_t EqVal;
|
uint64_t EqVal;
|
||||||
switch (getBooleanContents(N0.getValueType().isVector())) {
|
switch (getBooleanContents(N0.getValueType().isVector())) {
|
||||||
default: llvm_unreachable("Unknown boolean contents!");
|
|
||||||
case UndefinedBooleanContent:
|
case UndefinedBooleanContent:
|
||||||
case ZeroOrOneBooleanContent:
|
case ZeroOrOneBooleanContent:
|
||||||
EqVal = ISD::isTrueWhenEqual(Cond);
|
EqVal = ISD::isTrueWhenEqual(Cond);
|
||||||
|
|||||||
Reference in New Issue
Block a user