diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-24 17:20:08 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-24 17:20:08 +0000 |
commit | cb4029110040c3655a66b5f423d328c749ba6a49 (patch) | |
tree | ff63cddc3870db1526fd120a14aa690e186239b9 /llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | |
parent | ad6aa47c20ae7412873029fc6e611b05dc169e10 (diff) | |
download | bcm5719-llvm-cb4029110040c3655a66b5f423d328c749ba6a49.tar.gz bcm5719-llvm-cb4029110040c3655a66b5f423d328c749ba6a49.zip |
Fix known typos
Sweep the codebase for common typos. Includes some changes to visible function
names that were misspelt.
llvm-svn: 200018
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index b4d59fa0eaf..c89cd74c6eb 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -109,8 +109,8 @@ namespace { bool preliminaryScreen(); /// Check if the given conditional branch is based on the comparison - /// beween a variable and zero, and if the variable is non-zero, the - /// control yeilds to the loop entry. If the branch matches the behavior, + /// between a variable and zero, and if the variable is non-zero, the + /// control yields to the loop entry. If the branch matches the behavior, /// the variable involved in the comparion is returned. This function will /// be called to see if the precondition and postcondition of the loop /// are in desirable form. @@ -521,7 +521,7 @@ void NclPopcountRecognize::transform(Instruction *CntInst, // TripCnt is exactly the number of iterations the loop has TripCnt = NewCount; - // If the popoulation counter's initial value is not zero, insert Add Inst. + // If the population counter's initial value is not zero, insert Add Inst. Value *CntInitVal = CntPhi->getIncomingValueForBlock(PreHead); ConstantInt *InitConst = dyn_cast<ConstantInt>(CntInitVal); if (!InitConst || !InitConst->isZero()) { |