summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitcccbe167850852c2a6ecee13cb40bc469ed5a2f9 (patch)
tree1375bdfb48de15ecd474cab4bf4dff20d4735763 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent74a61ed70d48da539ba8de6739ac2d18bb06f61a (diff)
downloadbcm5719-llvm-cccbe167850852c2a6ecee13cb40bc469ed5a2f9.tar.gz
bcm5719-llvm-cccbe167850852c2a6ecee13cb40bc469ed5a2f9.zip
Fix comment grammar and capitalization.
llvm-svn: 191850
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index d5df111588f..c1cc00b68d6 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud