[llvm] [Transforms] Add a new algorithm to SplitModule (PR #95941)
Guray Ozen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 03:00:30 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),
----------------
grypp wrote:
I am wondering can we make this option default? We could still introduce a flag that opt-outs?
https://github.com/llvm/llvm-project/pull/95941
More information about the llvm-commits
mailing list