For LTO we need to enable this pass in the LTO pipeline,
as it is skipped during the "-flto -c" compile step (when PrepareForLTO is
set).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm
lib/Transforms/IPO/PassManagerBuilder.cpp | ||
---|---|---|
559–564 ↗ | (On Diff #31727) | I think you can shorten this to something like: // Drop bodies of available externally objects to improve GlobalDCE. |