[llvm] r212159 - [cleanup] Remove dead 'break; ' statements that I meant to nuke in
Chandler Carruth
chandlerc at gmail.com
Tue Jul 1 21:39:35 PDT 2014
Author: chandlerc
Date: Tue Jul 1 23:39:34 2014
New Revision: 212159
URL: http://llvm.org/viewvc/llvm-project?rev=212159&view=rev
Log:
[cleanup] Remove dead 'break;' statements that I meant to nuke in
r212158 but missed.
Thanks to Craig for spotting the goof!
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp?rev=212159&r1=212158&r2=212159&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp Tue Jul 1 23:39:34 2014
@@ -334,12 +334,10 @@ SDValue VectorLegalizer::Promote(SDValue
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
More information about the llvm-commits
mailing list