[llvm-commits] [llvm] r123590 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Chris Lattner
sabre at nondot.org
Sun Jan 16 09:46:19 PST 2011
Author: lattner
Date: Sun Jan 16 11:46:19 2011
New Revision: 123590
URL: http://llvm.org/viewvc/llvm-project?rev=123590&view=rev
Log:
tidy up a comment, as suggested by duncan
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=123590&r1=123589&r2=123590&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Sun Jan 16 11:46:19 2011
@@ -1868,8 +1868,8 @@
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) {
More information about the llvm-commits
mailing list