diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-07-24 12:44:35 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-07-24 12:44:35 +0000 |
commit | 0f65ab020a2e4bc6f4838a80e233ee620786e973 (patch) | |
tree | e9bf60f8bed196268f2ff3d778ef568dee9294c8 | |
parent | 07e8c36dc73fa56357f0da4ac71c559fe952b31d (diff) | |
download | bcm5719-llvm-0f65ab020a2e4bc6f4838a80e233ee620786e973.tar.gz bcm5719-llvm-0f65ab020a2e4bc6f4838a80e233ee620786e973.zip |
Fix spelling in comments. NFCI.
llvm-svn: 308877
-rw-r--r-- | llvm/include/llvm/CodeGen/BasicTTIImpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/BasicTTIImpl.h b/llvm/include/llvm/CodeGen/BasicTTIImpl.h index 1e569632384..246c3e98910 100644 --- a/llvm/include/llvm/CodeGen/BasicTTIImpl.h +++ b/llvm/include/llvm/CodeGen/BasicTTIImpl.h @@ -409,7 +409,7 @@ public: unsigned getScalarizationOverhead(Type *VecTy, ArrayRef<const Value *> 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, |