[cleanup] Remove dead 'break;' statements that I meant to nuke in
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jul 2014 04:39:34 +0000 (04:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jul 2014 04:39:34 +0000 (04:39 +0000)
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

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

index 807f3fbbd4be464fa9a6598d4839dcb0efb37b09..8c040805a37b5a9768304b0e649d5d9738be7442 100644 (file)
@@ -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