forked from OSchip/llvm-project
8ecaf69291
Summary: This is a companion patch for http://reviews.llvm.org/D16124. Internalized symbols increase the size of strongly-connected components in SCC-based module splitting and thus reduce the amount of parallelism. This patch records the original linkage of non-local symbols prior to internalization and then restores it just before splitting/CodeGen. This is also useful for cases where the linker requires symbols to remain external, for instance, so they can be placed according to linker script rules. It's currently under its own flag (-restore-globals) but should eventually share a common flag with D16124. Reviewers: joker.eph, pcc Subscribers: slarin, llvm-commits, joker.eph Differential Revision: http://reviews.llvm.org/D16229 llvm-svn: 258100 |
||
---|---|---|
.. | ||
Inputs | ||
attrs.ll | ||
bcsection.ll | ||
cfi_endproc.ll | ||
current-section.ll | ||
diagnostic-handler-noexit.ll | ||
diagnostic-handler-remarks.ll | ||
disable-verify.ll | ||
invalid.ll | ||
keep-used-puts-during-instcombine.ll | ||
linkonce_odr_func.ll | ||
list-symbols.ll | ||
lit.local.cfg | ||
llvm-lto-output.ll | ||
no-undefined-puts-when-implemented.ll | ||
parallel.ll | ||
pr25919.ll | ||
private-symbol.ll | ||
restore-externals.ll | ||
runtime-library.ll | ||
set-merged.ll | ||
symver-asm.ll | ||
triple-init.ll |