[Mlir-commits] [mlir] [mlir][transform] Add a scoped transform (PR #87352)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Fri May 17 06:31:12 PDT 2024
ftynse wrote:
My concern with detached functions is precisely the fact that they are detached. This sounds quite surprising for logging/debugging because they will not be easily visible when dumping, e.g., the top-level payload module. So I would prefer an inlined isolated-from-above operation instead that is visible in the IR. Furthermore, if we need to send values to or from such a detached function, we would need to keep a call to that function in the IR it was outlined from, which would render that invalid (unless we have a declaration, but at that point we can just as well have the definition there)...
https://github.com/llvm/llvm-project/pull/87352
More information about the Mlir-commits
mailing list