1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Be tidy and use a break to exit from a switch block rather than

just falling through the end.

llvm-svn: 79383
This commit is contained in:
Dan Gohman 2009-08-18 23:52:48 +00:00
parent 2f3cfb4d35
commit 1526c115c0

View File

@ -905,6 +905,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
// to the appropriate width.
if (!Ops[2].getValueType().isVector())
Ops[2] = LegalizeOp(DAG.getShiftAmountOperand(Ops[2]));
break;
}
Result = DAG.UpdateNodeOperands(Result.getValue(0), Ops.data(),