[llvm] [Extractor] Use function return for the one and only output (PR #191824)

David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 11:48:23 PDT 2026


================
@@ -1185,7 +1185,7 @@ PartialInlinerImpl::FunctionCloner::doSingleRegionFunctionOutlining() {
   Function *OutlinedFunc =
       CodeExtractor(ToExtract, &DT, /*AggregateArgs*/ false,
                     ClonedFuncBFI.get(), &BPI, LookupAC(*ClonedFunc),
-                    /* AllowVarargs */ true)
+                    /* AllowVarargs */ true, false, nullptr, "", false, false)
----------------
david-xl wrote:

Add comment on the arguments.

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


More information about the llvm-commits mailing list