Skip to content

Commit 90f399b

Browse files
committed
run clang-format
1 parent 129a4ef commit 90f399b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,9 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
323323
return TargetTransformInfo::PR_None;
324324
};
325325

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) {
328329
if (match(Widen,
329330
m_Binary<Instruction::Sub>(m_SpecificInt(0), m_VPValue(Op)))) {
330331
Widen = dyn_cast<VPWidenRecipe>(Op->getDefiningRecipe());
@@ -333,9 +334,9 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
333334
VPRecipeBase *ExtAR = Widen->getOperand(0)->getDefiningRecipe();
334335
VPRecipeBase *ExtBR = Widen->getOperand(1)->getDefiningRecipe();
335336
InputTypeA = Ctx.Types.inferScalarType(ExtAR ? ExtAR->getOperand(0)
336-
: Widen->getOperand(0));
337+
: Widen->getOperand(0));
337338
InputTypeB = Ctx.Types.inferScalarType(ExtBR ? ExtBR->getOperand(0)
338-
: Widen->getOperand(1));
339+
: Widen->getOperand(1));
339340
ExtAType = GetExtendKind(ExtAR);
340341
ExtBType = GetExtendKind(ExtBR);
341342
};

0 commit comments

Comments
 (0)