From: Chandler Carruth Date: Wed, 2 Jul 2014 04:39:34 +0000 (+0000) Subject: [cleanup] Remove dead 'break;' statements that I meant to nuke in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b80dce061bc6e4e1a28f3896d2ea81099daa3cf0;p=llvm [cleanup] Remove dead 'break;' statements that I meant to nuke in r212158 but missed. Thanks to Craig for spotting the goof! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212159 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 807f3fbbd4b..8c040805a37 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/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