[llvm] [MachineOutliner] Leaf Descendants (PR #90275)

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 17:35:15 PDT 2024


================
@@ -121,6 +121,12 @@ static cl::opt<unsigned> OutlinerBenefitThreshold(
     cl::desc(
         "The minimum size in bytes before an outlining candidate is accepted"));
 
+static cl::opt<bool> OutlinerLeafDescendants(
+    "outliner-leaf-descendants", cl::init(true), cl::Hidden,
----------------
kyulee-com wrote:

I don't have a strong preference, but wonder if we want a disable flag instead, like `-disable-outliner-leaf-descendants` and we can drop `cl::init(false)`, or completely delete a flag while updating all tests. I'm all open for either option.

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


More information about the llvm-commits mailing list