@@ -307,20 +307,20 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
307307 }
308308
309309 Type *InputTypeA = nullptr , *InputTypeB = nullptr ;
310- TTI::PartialReductionExtendKind ExtAType = TargetTransformInfo ::PR_None,
311- ExtBType = TargetTransformInfo ::PR_None;
310+ TTI::PartialReductionExtendKind ExtAType = TTI ::PR_None,
311+ ExtBType = TTI ::PR_None;
312312
313313 auto GetExtendKind = [](VPRecipeBase *R) {
314314 if (!R)
315- return TargetTransformInfo ::PR_None;
315+ return TTI ::PR_None;
316316 auto *WidenCastR = dyn_cast<VPWidenCastRecipe>(R);
317317 if (!WidenCastR)
318- return TargetTransformInfo ::PR_None;
318+ return TTI ::PR_None;
319319 if (WidenCastR->getOpcode () == Instruction::CastOps::ZExt)
320- return TargetTransformInfo ::PR_ZeroExtend;
320+ return TTI ::PR_ZeroExtend;
321321 if (WidenCastR->getOpcode () == Instruction::CastOps::SExt)
322- return TargetTransformInfo ::PR_SignExtend;
323- return TargetTransformInfo ::PR_None;
322+ return TTI ::PR_SignExtend;
323+ return TTI ::PR_None;
324324 };
325325
326326 // Pick out opcode, type/ext information and use sub side effects from a widen
@@ -357,9 +357,9 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
357357 return Reduction->computeCost (VF, Ctx);
358358 }
359359 auto *PhiType = Ctx.Types .inferScalarType (getOperand (1 ));
360- return Ctx.TTI .getPartialReductionCost (
361- getOpcode (), InputTypeA, InputTypeB, PhiType, VF, ExtAType,
362- ExtBType, Opcode, Ctx.CostKind );
360+ return Ctx.TTI .getPartialReductionCost (getOpcode (), InputTypeA, InputTypeB,
361+ PhiType, VF, ExtAType, ExtBType ,
362+ Opcode, Ctx.CostKind );
363363}
364364
365365void VPPartialReductionRecipe::execute (VPTransformState &State) {
0 commit comments