[clang] [llvm] [ThinLTO][Split] Split module for parallel compilation in backend (1/N) (PR #198702)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 3 05:59:12 PDT 2026


================
@@ -0,0 +1,34 @@
+#ifndef LLVM_TRANSFORMS_UTILS_SPLITMODULECG_H
----------------
mmjjpp wrote:

Do you mean extracting the common functionality into a base class, with each splitting strategy deriving from it and implementing its strategy-specific behavior?

I agree that reducing duplication would be beneficial. However, the current splitting strategies differ substantially in their overall workflows, so factoring out the shared handling may require a fairly significant refactoring effort. 

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


More information about the cfe-commits mailing list