Skip to content

Commit 5bbf933

Browse files
committed
Fix formatting
Created using spr 1.3.5
1 parent 611246c commit 5bbf933

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23720,8 +23720,8 @@ class HorizontalReduction {
2372023720
FMF &= FPCI->getFastMathFlags();
2372123721
Ops.push_back(RdxVal->user_back());
2372223722
}
23723-
FMACost = canConvertToFMA(
23724-
Ops, getSameOpcode(Ops, TLI), DT, DL, *TTI, TLI);
23723+
FMACost = canConvertToFMA(Ops, getSameOpcode(Ops, TLI), DT, DL,
23724+
*TTI, TLI);
2372523725
if (FMACost.isValid()) {
2372623726
// Calculate actual FMAD cost.
2372723727
IntrinsicCostAttributes ICA(Intrinsic::fmuladd, RVecTy,
@@ -23732,7 +23732,8 @@ class HorizontalReduction {
2373223732
// Also, exclude vector fmul cost.
2373323733
InstructionCost FMulCost = TTI->getArithmeticInstrCost(
2373423734
Instruction::FMul, RVecTy, CostKind);
23735-
LLVM_DEBUG(dbgs() << "Minus vector FMul cost: " << FMulCost << "\n");
23735+
LLVM_DEBUG(dbgs()
23736+
<< "Minus vector FMul cost: " << FMulCost << "\n");
2373623737
FMACost -= FMulCost;
2373723738
}
2373823739
}

0 commit comments

Comments
 (0)