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
Event Timeline
Comment Actions
lgtm
lib/Transforms/IPO/PassManagerBuilder.cpp | ||
---|---|---|
559–564 | I think you can shorten this to something like: // Drop bodies of available externally objects to improve GlobalDCE. |
I think you can shorten this to something like: