summaryrefslogtreecommitdiff
path: root/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-02 20:04:26 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-02 20:04:26 +0000
commit5c86f1296947df003e22b3a08e241dc26b408e4b (patch)
treeacce2e96a415cae9f0eeb2814482ba82ca0a868d /lib/Transforms/Vectorize/LoopVectorize.cpp
parentb47c0108b3053e36599aec5b3313ea89608ae90a (diff)
downloadllvm-5c86f1296947df003e22b3a08e241dc26b408e4b.tar.gz
llvm-5c86f1296947df003e22b3a08e241dc26b408e4b.tar.bz2
llvm-5c86f1296947df003e22b3a08e241dc26b408e4b.tar.xz
Fix comment grammar and capitalization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp
index d5df111588..c1cc00b68d 100644
--- a/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -3710,8 +3710,8 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
Stores.push_back(St);
DepChecker.addAccess(St);
}
- } // next instr.
- } // next block.
+ } // Next instr.
+ } // Next block.
// Now we have two lists that hold the loads and the stores.
// Next, we find the pointers that they use.
@@ -3805,7 +3805,7 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
if (NumComparisons == 0 && NeedRTCheck)
NeedRTCheck = false;
- // Check that we did not collect too many pointers or found a unsizeable
+ // Check that we did not collect too many pointers or found an unsizeable
// pointer.
if (!CanDoRT || NumComparisons > RuntimeMemoryCheckThreshold) {
PtrRtCheck.reset();