Fix a comment, PR15777.
authorChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2013 17:42:14 +0000 (17:42 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2013 17:42:14 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179775 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ScalarReplAggregates.cpp

index 8a8fbd3c4e854154d037039b0556fe9568da33c6..bfde334c36c3a3c71e39164c07728c7459c7d984 100644 (file)
@@ -1462,8 +1462,8 @@ bool SROA::ShouldAttemptScalarRepl(AllocaInst *AI) {
 }
 
 // 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;