This is an archive of the discontinued LLVM Phabricator instance.

[LTO] Ignore regular LTO modules when looking for partially split LTO Units
AbandonedPublic

Authored by tejohnson on Jul 19 2019, 1:01 PM.

Details

Reviewers
pcc
Summary

LTO Unit splitting does not apply to regular LTO modules, only ThinLTO
(which must be consistently split into regular and Thin units for
optimizations such as whole program devirtualization and lower type
tests). Ignore non-Thin modules when looking for consistently split LTO
Units, to avoid spurious errors when linking split ThinLTO modules with
(non-split) regular LTO modules.

Diff Detail

Event Timeline

tejohnson created this revision.Jul 19 2019, 1:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2019, 1:01 PM
tejohnson abandoned this revision.Jul 19 2019, 3:31 PM

Going with a different clang-side approach (see D65009).