diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-01-16 17:46:19 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-01-16 17:46:19 +0000 |
| commit | 7c9f4c9c2b531edadb073cd692d61ade6f69a190 (patch) | |
| tree | 5df839e16956708a7c712e6a6267136762d0a0f7 /llvm/lib/Transforms | |
| parent | cba4c33949d991b50bd83988d1e0bfe1beb12420 (diff) | |
| download | bcm5719-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.cpp | 4 |
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) { |

