[Mlir-commits] [mlir] [mlir][inliner] Add doClone and canHandleMultipleBlocks callbacks to Inliner (PR #131226)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Apr 4 14:36:12 PDT 2025
================
@@ -255,16 +255,17 @@ class InlinerInterface
/// information. 'shouldCloneInlinedRegion' corresponds to whether the source
/// region should be cloned into the 'inlinePoint' or spliced directly.
LogicalResult inlineRegion(InlinerInterface &interface,
- const InlinerConfig &config, Region *src,
- Operation *inlinePoint, IRMapping &mapper,
- ValueRange resultsToReplace,
+ InlinerConfig::CloneCallbackTy cloneCallback,
----------------
junfengd-nv wrote:
Thanks for pointing this out, I updated the change by using "function_ref<InlinerConfig::CloneCallbackSigTy> cloneCallback" instead.
https://github.com/llvm/llvm-project/pull/131226
More information about the Mlir-commits
mailing list