diff options
author | Chris Lattner <sabre@nondot.org> | 2013-04-18 17:42:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2013-04-18 17:42:14 +0000 |
commit | 77327fd652e184c413744eabec8d9fdd605d09c1 (patch) | |
tree | b088f9d53c01751a3289a18577cb209ac6ecc3de | |
parent | 2061dcf0e4266c487185f1b3d8e23b93e2dd68fb (diff) | |
download | external_llvm-77327fd652e184c413744eabec8d9fdd605d09c1.zip external_llvm-77327fd652e184c413744eabec8d9fdd605d09c1.tar.gz external_llvm-77327fd652e184c413744eabec8d9fdd605d09c1.tar.bz2 |
Fix a comment, PR15777.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179775 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/ScalarReplAggregates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 8a8fbd3..bfde334 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -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; |