[Mlir-commits] [mlir] [mlir][linalg] Refactor vectorization hooks to improve code reuse (PR #141244)

Andrzej Warzyński llvmlistbot at llvm.org
Fri May 30 03:23:34 PDT 2025


banach-space wrote:

**Update 30/5/25**

Updated the summary and rebased. I’ve made some small tweaks so that I could revert the changes made to `transform-vector.mlir` and `transform-e2e.mlir` in my [first commit](https://github.com/llvm/llvm-project/pull/141244/commits/0c34fbbd8f26bb72d18264dd9ba578157b25d3e4). This way, only `insert_slice.mlir` is updated, making it clear that:

* These changes only affect `vectorizeAsInsertSliceOp`.
* The vectorizer’s behaviour is otherwise preserved.

As noted in the summary, I did identify some issues - these are tracked here:
* https://github.com/llvm/llvm-project/issues/142107

I’ll be away next week, so I plan to wait until I’m back before landing this. That also gives other potential reviewers some time to take a look :) If there are no new comments by then, I’ll go ahead and merge.

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


More information about the Mlir-commits mailing list