diff options
| author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-14 05:41:49 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-14 05:41:49 +0000 |
| commit | f209649dfcfef475de740a4755a6c480db360a6f (patch) | |
| tree | fedb62ca57604cfaf31b033d7666dc7e8449fc6a /llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | |
| parent | 706ea47bdc9f72fdb1a00cec228ffe2fac9a7c1c (diff) | |
| download | bcm5719-llvm-f209649dfcfef475de740a4755a6c480db360a6f.tar.gz bcm5719-llvm-f209649dfcfef475de740a4755a6c480db360a6f.zip | |
[NFC] fix trivial typos in comments
llvm-svn: 334687
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 9630bfefce7..3756cd024c8 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -1040,7 +1040,7 @@ bool LoopIdiomRecognize::processLoopStoreOfLoopLoad(StoreInst *SI, CallInst *NewCall = nullptr; // Check whether to generate an unordered atomic memcpy: - // If the load or store are atomic, then they must neccessarily be unordered + // If the load or store are atomic, then they must necessarily be unordered // by previous checks. if (!SI->isAtomic() && !LI->isAtomic()) NewCall = Builder.CreateMemCpy(StoreBasePtr, SI->getAlignment(), @@ -1470,7 +1470,7 @@ bool LoopIdiomRecognize::recognizePopcount() { if (!EntryBI || EntryBI->isConditional()) return false; - // It should have a precondition block where the generated popcount instrinsic + // It should have a precondition block where the generated popcount intrinsic // function can be inserted. auto *PreCondBB = PH->getSinglePredecessor(); if (!PreCondBB) |

