[llvm-branch-commits] [llvm] [CGData] Refactor Global Merge Functions (PR #115750)
Kyungwoo Lee via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 13 07:30:16 PST 2024
kyulee-com wrote:
@nocchijiang The new approach seems to be functioning well and is similar in size to the previous method.
I suspect that the no-LTO case might still encounter some slowdown, as each CU needs to read the entire CGData regardless. Currently, the CGData used for this merging process does not utilize names, which means we could potentially eliminate strings or make them optional. Alternatively, we could restructure the indexed CGData to allow for reading only the relevant hash entries on demand. I'd like to leave these options open for now, and if you can continue to improve it, that would be excellent.
https://github.com/llvm/llvm-project/pull/115750
More information about the llvm-branch-commits
mailing list