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:
Dan Gohman 2009-08-18 23:52:48 +00:00
parent 906d5b4455
commit 2c9489d6e9

View File

@ -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(),