mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Remove default in fully-covered switch (to fix Clang -Werror -Wcovered-switch-default)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1649,7 +1649,6 @@ void DAGTypeLegalizer::ExpandIntRes_ADDSUB(SDNode *N,
|
|||||||
SDValue OVF = Lo.getValue(1);
|
SDValue OVF = Lo.getValue(1);
|
||||||
|
|
||||||
switch (BoolType) {
|
switch (BoolType) {
|
||||||
default:
|
|
||||||
case TargetLoweringBase::UndefinedBooleanContent:
|
case TargetLoweringBase::UndefinedBooleanContent:
|
||||||
OVF = DAG.getNode(ISD::AND, dl, NVT, DAG.getConstant(1, NVT), OVF);
|
OVF = DAG.getNode(ISD::AND, dl, NVT, DAG.getConstant(1, NVT), OVF);
|
||||||
// Fallthrough
|
// Fallthrough
|
||||||
|
Reference in New Issue
Block a user