[lld] [lld][WebAssembly] Fix stub library deps causing LTO archive members to be required post-LTO (PR #101894)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 10:27:03 PDT 2024
dschuff wrote:
This seems to have caused a regression in the LTO versions of emscripten's [test_lazy_load_code_unconditional](https://github.com/emscripten-core/emscripten/blob/main/test/test_core.py#L8363) test (see [here](https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8740294891369218289/+/u/Emscripten_testsuite__LTO_/stdout) for a build log).
Before the change the base size is 4419 and the lazy size is 9140, but after they go up to 9162 and 13019 (with the test failing because the first is more than 60% of the lazy size).
I'm not really familiar with this test, but it seems to be checking that the optimizer can eliminate a lot of the size of the first module (which I guess it does, but not 60%). But either way it seems like a large size regression
https://github.com/llvm/llvm-project/pull/101894
More information about the llvm-commits
mailing list