No need to include CallGraphSCCPass.h from the IPO/Inliner.
Also removed the include of LegacyPassManager.h in a couple of files
that do not really depend on that header file.
Paths
| Differential D148083
[Transforms][LTO] Remove some redundant includes. NFC ClosedPublic Authored by bjope on Apr 12 2023, 2:08 AM.
Details
Summary No need to include CallGraphSCCPass.h from the IPO/Inliner. Also removed the include of LegacyPassManager.h in a couple of files
Diff Detail
Event TimelineThis revision was landed with ongoing or failed builds. Closed by commit rG410775ecfdb8: [Transforms][LTO] Remove some redundant includes. NFC (authored by bjope). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 513095 llvm/include/llvm/Transforms/IPO/Inliner.h
llvm/lib/LTO/UpdateCompilerUsed.cpp
llvm/lib/Transforms/IPO/IPO.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/lib/Transforms/Utils/Utils.cpp
llvm/lib/Transforms/Vectorize/Vectorize.cpp
|