summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-07-02 04:39:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-07-02 04:39:34 +0000
commit722289f31139bf6f535cfad248a87cda9ce86cb0 (patch)
tree951ab25739199c71a62e7aaf9fcb14af971c40b8 /llvm/lib
parent2746c2861f4d227923e7371960943cf40ab7581d (diff)
downloadbcm5719-llvm-722289f31139bf6f535cfad248a87cda9ce86cb0.tar.gz
bcm5719-llvm-722289f31139bf6f535cfad248a87cda9ce86cb0.zip
[cleanup] Remove dead 'break;' statements that I meant to nuke in
r212158 but missed. Thanks to Craig for spotting the goof! llvm-svn: 212159
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 807f3fbbd4b..8c040805a37 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -334,12 +334,10 @@ SDValue VectorLegalizer::Promote(SDValue Op) {
case ISD::UINT_TO_FP:
// "Promote" the operation by extending the operand.
return PromoteINT_TO_FP(Op);
- break;
case ISD::FP_TO_UINT:
case ISD::FP_TO_SINT:
// Promote the operation by extending the operand.
return PromoteFP_TO_INT(Op, Op->getOpcode() == ISD::FP_TO_SINT);
- break;
}
// The rest of the time, vector "promotion" is basically just bitcasting and
OpenPOWER on IntegriCloud