mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
Be tidy and use a break to exit from a switch block rather than
just falling through the end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
906d5b4455
commit
2c9489d6e9
@ -905,6 +905,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
|
|||||||
// to the appropriate width.
|
// to the appropriate width.
|
||||||
if (!Ops[2].getValueType().isVector())
|
if (!Ops[2].getValueType().isVector())
|
||||||
Ops[2] = LegalizeOp(DAG.getShiftAmountOperand(Ops[2]));
|
Ops[2] = LegalizeOp(DAG.getShiftAmountOperand(Ops[2]));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result = DAG.UpdateNodeOperands(Result.getValue(0), Ops.data(),
|
Result = DAG.UpdateNodeOperands(Result.getValue(0), Ops.data(),
|
||||||
|
Loading…
Reference in New Issue
Block a user