LoopVectorizer: integer division is not a reduction operation
[oota-llvm.git] / lib / Transforms / Vectorize / LoopVectorize.cpp
index acf2b819b81377702f52fc4c1035f1074bf4f25f..238fc8bfb701617efcd8b4ef13858d1d781ff161 100644 (file)
@@ -2833,8 +2833,6 @@ LoopVectorizationLegality::isReductionInstr(Instruction *I,
   case Instruction::Sub:
   case Instruction::Add:
     return Kind == RK_IntegerAdd;
-  case Instruction::SDiv:
-  case Instruction::UDiv:
   case Instruction::Mul:
     return Kind == RK_IntegerMult;
   case Instruction::And: