File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -323,8 +323,9 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
323
323
return TargetTransformInfo::PR_None;
324
324
};
325
325
326
- // Pick out opcode, type/ext information and use sub side effects from a widen recipe.
327
- auto HandleWiden = [&](VPWidenRecipe* Widen){
326
+ // Pick out opcode, type/ext information and use sub side effects from a widen
327
+ // recipe.
328
+ auto HandleWiden = [&](VPWidenRecipe *Widen) {
328
329
if (match (Widen,
329
330
m_Binary<Instruction::Sub>(m_SpecificInt (0 ), m_VPValue (Op)))) {
330
331
Widen = dyn_cast<VPWidenRecipe>(Op->getDefiningRecipe ());
@@ -333,9 +334,9 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
333
334
VPRecipeBase *ExtAR = Widen->getOperand (0 )->getDefiningRecipe ();
334
335
VPRecipeBase *ExtBR = Widen->getOperand (1 )->getDefiningRecipe ();
335
336
InputTypeA = Ctx.Types .inferScalarType (ExtAR ? ExtAR->getOperand (0 )
336
- : Widen->getOperand (0 ));
337
+ : Widen->getOperand (0 ));
337
338
InputTypeB = Ctx.Types .inferScalarType (ExtBR ? ExtBR->getOperand (0 )
338
- : Widen->getOperand (1 ));
339
+ : Widen->getOperand (1 ));
339
340
ExtAType = GetExtendKind (ExtAR);
340
341
ExtBType = GetExtendKind (ExtBR);
341
342
};
You can’t perform that action at this time.
0 commit comments