[Mlir-commits] [mlir] feat(linalg): add a way to pass controlFn to `foldIntoPackUnpackPatterns` (PR #143685)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jun 12 17:09:21 PDT 2025
https://github.com/MaheshRavishankar requested changes to this pull request.
I think this is an indication that you dont want to be using pattern application. In such situations we have found it better to expose the core transformation done by the pattern as a function and then just call that function using a pass downstream. You can the have whatever control you want in that pass.
https://github.com/llvm/llvm-project/pull/143685
More information about the Mlir-commits
mailing list