projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906d5b4
)
Be tidy and use a break to exit from a switch block rather than
author
Dan Gohman
<gohman@apple.com>
Tue, 18 Aug 2009 23:52:48 +0000
(23:52 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 18 Aug 2009 23:52:48 +0000
(23:52 +0000)
just falling through the end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79383
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 07a6b2c5cc57ee8f6b5fec31347e3ce2b054b2f5..82b364730a36a74673093fea76b71be3c1e16def 100644
(file)
--- 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(),