mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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
This commit is contained in:
parent
e5ae51a38f
commit
8d41a1a7e6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user