[PATCH] D65008: [LTO] Ignore regular LTO modules when looking for partially split LTO Units
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 13:02:10 PDT 2019
tejohnson created this revision.
tejohnson added a reviewer: pcc.
Herald added subscribers: dang, dexonsmith, steven_wu, inglorion, Prazek, mehdi_amini.
Herald added a project: LLVM.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D65008
Files:
lib/LTO/LTO.cpp
test/ThinLTO/X86/Inputs/nonthin_empty.ll
test/ThinLTO/X86/Inputs/thin_empty.ll
test/ThinLTO/X86/cfi-devirt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65008.210879.patch
Type: text/x-patch
Size: 4359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190719/0e4c0584/attachment.bin>
More information about the llvm-commits
mailing list