summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-18 23:52:48 +0000
committerDan Gohman <gohman@apple.com>2009-08-18 23:52:48 +0000
commit2fa67c9f70597ee5537e62301a1e1a4937e53550 (patch)
tree8cb4b40879ae3a3a1f12e0f84be38c47c06240b5 /llvm/lib/CodeGen
parent317a6cd0103322ffe593a379b51b5cbd7345117f (diff)
downloadbcm5719-llvm-2fa67c9f70597ee5537e62301a1e1a4937e53550.tar.gz
bcm5719-llvm-2fa67c9f70597ee5537e62301a1e1a4937e53550.zip
Be tidy and use a break to exit from a switch block rather than
just falling through the end. llvm-svn: 79383
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 1 insertions, 0 deletions
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(),
OpenPOWER on IntegriCloud