https://github.com/simon-camp commented: With #72494 landed this needs to be rebased. Otherwise this looks good to me. I would still like someone to look over the transform dialect stuff though. https://github.com/llvm/llvm-project/pull/71631