There are a few more uses of CallGraph that should be replaced with LazyCallGraph
Also delete legacy version of RPOFunctionAttrs since it is deprecated and LazyCallGraph is not available under the legacy pass manager.
Paths
| Differential D143358
[RPOFunctionAttrs] Use LazyCallGraph instead of CallGraph ClosedPublic Authored by swamulism on Feb 5 2023, 5:17 PM.
Details Summary There are a few more uses of CallGraph that should be replaced with LazyCallGraph Also delete legacy version of RPOFunctionAttrs since it is deprecated and LazyCallGraph is not available under the legacy pass manager.
Diff Detail
Event TimelineComment Actions presubmit testing is saying that new-pm-lto-defaults.ll is still failing with the change
This revision is now accepted and ready to land.Feb 6 2023, 9:54 PM This revision was landed with ongoing or failed builds.Feb 7 2023, 1:17 PM Closed by commit rG4e3aae1b91c9: [RPOFunctionAttrs] Use LazyCallGraph instead of CallGraph (authored by swamulism, committed by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 495629 llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/include/llvm/Transforms/IPO.h
llvm/lib/Transforms/IPO/FunctionAttrs.cpp
llvm/lib/Transforms/IPO/IPO.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/test/Other/new-pm-lto-defaults.ll
|
don't need make_early_inc_range, that's only used when iterating while mutating and we're not mutating the call graph