From: Simon Pilgrim Date: Mon, 24 Jul 2017 12:44:35 +0000 (+0000) Subject: Fix spelling in comments. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3e6de066db8e4bacf9450d03e46fa4d17a59369;p=llvm Fix spelling in comments. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308877 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/BasicTTIImpl.h b/include/llvm/CodeGen/BasicTTIImpl.h index 1e569632384..246c3e98910 100644 --- a/include/llvm/CodeGen/BasicTTIImpl.h +++ b/include/llvm/CodeGen/BasicTTIImpl.h @@ -409,7 +409,7 @@ public: unsigned getScalarizationOverhead(Type *VecTy, ArrayRef Args) { assert (VecTy->isVectorTy()); - + unsigned Cost = 0; Cost += getScalarizationOverhead(VecTy, true, false); @@ -873,7 +873,7 @@ public: } } } - + /// Get intrinsic cost based on argument types. /// If ScalarizationCostPassed is UINT_MAX, the cost of scalarizing the /// arguments and the return value will be computed based on types. @@ -1096,7 +1096,7 @@ public: unsigned getAddressComputationCost(Type *Ty, ScalarEvolution *, const SCEV *) { - return 0; + return 0; } /// Try to calculate arithmetic and shuffle op costs for reduction operations. @@ -1159,7 +1159,7 @@ public: } // The minimal length of the vector is limited by the real length of vector // operations performed on the current platform. That's why several final - // reduction opertions are perfomed on the vectors with the same + // reduction operations are performed on the vectors with the same // architecture-dependent length. ShuffleCost += (NumReduxLevels - LongVectorCount) * (IsPairwise + 1) * ConcreteTTI->getShuffleCost(TTI::SK_ExtractSubvector, Ty,