[llvm] Linker: Remove dropTriviallyDeadConstantArrays(). (PR #137081)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 00:46:14 PDT 2025
nikic wrote:
I'd expect this optimization is mainly targeting linking many modules that have globals with appending linkage -- not sure if clang exercises that. It should be possible to address memory usage for that case more directly though, by tracking the old ConstantArrays for the appending linkage link and only trying to clean them up.
https://github.com/llvm/llvm-project/pull/137081
More information about the llvm-commits
mailing list