summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-16 17:46:19 +0000
committerChris Lattner <sabre@nondot.org>2011-01-16 17:46:19 +0000
commit7c9f4c9c2b531edadb073cd692d61ade6f69a190 (patch)
tree5df839e16956708a7c712e6a6267136762d0a0f7 /llvm/lib/Transforms
parentcba4c33949d991b50bd83988d1e0bfe1beb12420 (diff)
downloadbcm5719-llvm-7c9f4c9c2b531edadb073cd692d61ade6f69a190.tar.gz
bcm5719-llvm-7c9f4c9c2b531edadb073cd692d61ade6f69a190.zip
tidy up a comment, as suggested by duncan
llvm-svn: 123590
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 0610844fac4..a068556b734 100644
--- a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@ -1868,8 +1868,8 @@ bool SROA::isSafeAllocaToScalarRepl(AllocaInst *AI) {
HasPadding(AI->getAllocatedType(), *TD))
return false;
- // If the alloca is never has an access to just *part* of it, but is accessed
- // with loads and stores, then we should use ConvertToScalarInfo to promote
+ // If the alloca never has an access to just *part* of it, but is accessed
+ // via loads and stores, then we should use ConvertToScalarInfo to promote
// the alloca instead of promoting each piece at a time and inserting fission
// and fusion code.
if (!Info.hasSubelementAccess && Info.hasALoadOrStore) {
OpenPOWER on IntegriCloud