[llvm] [llvm][transforms] Add a new algorithm to SplitModule (PR #95941)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 12:06:38 PDT 2024
================
@@ -35,7 +35,7 @@ class Module;
void SplitModule(
Module &M, unsigned N,
function_ref<void(std::unique_ptr<Module> MPart)> ModuleCallback,
- bool PreserveLocals = false);
+ bool PreserveLocals = false, bool TryToAvoidEmptyModules = false);
----------------
joker-eph wrote:
Can you document this flag? (if you can also document the PreserveLocals while we're here?)
https://github.com/llvm/llvm-project/pull/95941
More information about the llvm-commits
mailing list