File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,6 @@ PreservedAnalyses ModuleInlinerPass::run(Module &M,
144
144
// Populate the initial list of calls in this module.
145
145
for (Function &F : M) {
146
146
auto &ORE = FAM.getResult <OptimizationRemarkEmitterAnalysis>(F);
147
- // We want to generally process call sites top-down in order for
148
- // simplifications stemming from replacing the call with the returned value
149
- // after inlining to be visible to subsequent inlining decisions.
150
- // FIXME: Using instructions sequence is a really bad way to do this.
151
- // Instead we should do an actual RPO walk of the function body.
152
147
for (Instruction &I : instructions (F))
153
148
if (auto *CB = dyn_cast<CallBase>(&I))
154
149
if (Function *Callee = CB->getCalledFunction ()) {
You can’t perform that action at this time.
0 commit comments