From 21a47246f9bc122c24f799eb105aff0ae9c31ce1 Mon Sep 17 00:00:00 2001 From: Arnold Schwaighofer Date: Fri, 22 Nov 2013 15:47:17 +0000 Subject: [PATCH] SLPVectorizer: Fix whitespace errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195468 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 91ccac7c2e6..68a7f64e7af 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -411,7 +411,7 @@ private: /// \returns whether the VectorizableTree is fully vectoriable and will /// be beneficial even the tree height is tiny. - bool isFullyVectorizableTinyTree(); + bool isFullyVectorizableTinyTree(); struct TreeEntry { TreeEntry() : Scalars(), VectorizedValue(0), LastScalarIndex(0), @@ -1082,20 +1082,19 @@ int BoUpSLP::getTreeCost() { Cost += C; } - SmallSet ExtractCostCalculated; + SmallSet ExtractCostCalculated; int ExtractCost = 0; for (UserList::iterator I = ExternalUses.begin(), E = ExternalUses.end(); I != E; ++I) { - // We only add extract cost once for the same scalar. + // We only add extract cost once for the same scalar. if (!ExtractCostCalculated.insert(I->Scalar)) - continue; + continue; VectorType *VecTy = VectorType::get(I->Scalar->getType(), BundleWidth); ExtractCost += TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, I->Lane); } - DEBUG(dbgs() << "SLP: Total Cost " << Cost + ExtractCost<< ".\n"); return Cost + ExtractCost; } -- 2.34.1