From 2fa67c9f70597ee5537e62301a1e1a4937e53550 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 18 Aug 2009 23:52:48 +0000 Subject: Be tidy and use a break to exit from a switch block rather than just falling through the end. llvm-svn: 79383 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 07a6b2c5cc5..82b364730a3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -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(), -- cgit v1.2.3