commit | 1bc9cd58ffa9e34acc8c8c46715ce4c90d2e894c | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Aug 18 23:52:48 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Aug 18 23:52:48 2009 +0000 |
tree | b661a25b76ecda79646c1f123c31dbed0d1aea78 | |
parent | 35993b39d696214d06daabe27524bafcb19e2d41 [diff] |
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
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 @@ // 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(),