parent
a403d243d1
commit
8cf09416ea
|
@ -1462,8 +1462,8 @@ bool SROA::ShouldAttemptScalarRepl(AllocaInst *AI) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// performScalarRepl - This algorithm is a simple worklist driven algorithm,
|
// performScalarRepl - This algorithm is a simple worklist driven algorithm,
|
||||||
// which runs on all of the alloca instructions in the function, removing them
|
// which runs on all of the alloca instructions in the entry block, removing
|
||||||
// if they are only used by getelementptr instructions.
|
// them if they are only used by getelementptr instructions.
|
||||||
//
|
//
|
||||||
bool SROA::performScalarRepl(Function &F) {
|
bool SROA::performScalarRepl(Function &F) {
|
||||||
std::vector<AllocaInst*> WorkList;
|
std::vector<AllocaInst*> WorkList;
|
||||||
|
|
Loading…
Reference in New Issue