[clang] [llvm] [ThinLTO][SplitModuleCG] Add call-graph based module splitting (1/N) (PR #198702)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 10 21:27:37 PDT 2026


shiltian wrote:

The core of this PR looks very similar to https://github.com/llvm/llvm-project/pull/89245. Some of the code is even identical.

I still think we likely don't need a new pass. Instead, we could build on the existing infrastructure by moving things around in `AMDGPUSplitModule.cpp` and `SplitModule.cpp`, then implement the new split wherever we need it (as well as the two existing passes) using the shared code. I think it is feasible, but indeed needs some real work.

https://github.com/llvm/llvm-project/pull/198702


More information about the llvm-commits mailing list