mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Fix a comment, PR15777.
llvm-svn: 179775
This commit is contained in:
parent
c55a3d43a9
commit
a5d4b30d60
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user