Fix a comment, PR15777.

llvm-svn: 179775
This commit is contained in:
Chris Lattner 2013-04-18 17:42:14 +00:00
parent a403d243d1
commit 8cf09416ea
1 changed files with 2 additions and 2 deletions

View 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;