File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ class SROA {
252
252
std::pair<bool /* Changed*/ , bool /* CFGChanged*/ > runOnAlloca (AllocaInst &AI);
253
253
void clobberUse (Use &U);
254
254
bool deleteDeadInstructions (SmallPtrSetImpl<AllocaInst *> &DeletedAllocas);
255
- bool promoteAllocas (Function &F );
255
+ bool promoteAllocas ();
256
256
};
257
257
258
258
} // end anonymous namespace
@@ -5693,7 +5693,7 @@ bool SROA::deleteDeadInstructions(
5693
5693
// / This attempts to promote whatever allocas have been identified as viable in
5694
5694
// / the PromotableAllocas list. If that list is empty, there is nothing to do.
5695
5695
// / This function returns whether any promotion occurred.
5696
- bool SROA::promoteAllocas (Function &F ) {
5696
+ bool SROA::promoteAllocas () {
5697
5697
if (PromotableAllocas.empty ())
5698
5698
return false ;
5699
5699
@@ -5750,7 +5750,7 @@ std::pair<bool /*Changed*/, bool /*CFGChanged*/> SROA::runSROA(Function &F) {
5750
5750
}
5751
5751
}
5752
5752
5753
- Changed |= promoteAllocas (F );
5753
+ Changed |= promoteAllocas ();
5754
5754
5755
5755
Worklist = PostPromotionWorklist;
5756
5756
PostPromotionWorklist.clear ();
You can’t perform that action at this time.
0 commit comments