================ @@ -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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
