mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix a comment, PR15777.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2061dcf0e4
commit
77327fd652
@ -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