[llvm] r179775 - Fix a comment, PR15777.

Chris Lattner sabre at nondot.org
Thu Apr 18 10:42:15 PDT 2013


Author: lattner
Date: Thu Apr 18 12:42:14 2013
New Revision: 179775

URL: http://llvm.org/viewvc/llvm-project?rev=179775&view=rev
Log:
Fix a comment, PR15777.

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=179775&r1=179774&r2=179775&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Thu Apr 18 12:42:14 2013
@@ -1462,8 +1462,8 @@ bool SROA::ShouldAttemptScalarRepl(Alloc
 }
 
 // performScalarRepl - This algorithm is a simple worklist driven algorithm,
-// which runs on all of the alloca instructions in the function, removing them
-// if they are only used by getelementptr instructions.
+// which runs on all of the alloca instructions in the entry block, removing
+// them if they are only used by getelementptr instructions.
 //
 bool SROA::performScalarRepl(Function &F) {
   std::vector<AllocaInst*> WorkList;





More information about the llvm-commits mailing list