[llvm] [llvm][transforms] Add a new algorithm to SplitModule (PR #95941)
Ilia Sergachev via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 05:06:54 PDT 2024
================
@@ -53,6 +53,12 @@ static cl::opt<bool>
cl::desc("Split without externalizing locals"),
cl::cat(SplitCategory));
+static cl::opt<bool>
+ TryToAvoidEmptyModules("avoid-empty-modules", cl::Prefix, cl::init(false),
----------------
sergachev wrote:
Can be done but I'd prefer changing the default behavior to be a separate change so that the current change would not need to be reverted if someone relies on the current behavior.
https://github.com/llvm/llvm-project/pull/95941
More information about the llvm-commits
mailing list