diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-18 23:52:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-18 23:52:48 +0000 |
commit | 2c9489d6e96d99f77b6c31919805b5e61954deb2 (patch) | |
tree | b661a25b76ecda79646c1f123c31dbed0d1aea78 /lib/CodeGen/SelectionDAG | |
parent | 906d5b4455c6d605ab62f26d45cad2e49bf948bb (diff) | |
download | external_llvm-2c9489d6e96d99f77b6c31919805b5e61954deb2.zip external_llvm-2c9489d6e96d99f77b6c31919805b5e61954deb2.tar.gz external_llvm-2c9489d6e96d99f77b6c31919805b5e61954deb2.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 07a6b2c..82b3647 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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(), |