[Mlir-commits] [mlir] [mlir][Vector] Add `vector.to_elements` op (PR #141457)

Andrzej Warzyński llvmlistbot at llvm.org
Sat May 31 02:36:04 PDT 2025


banach-space wrote:

As a side note, it would be helpful to discuss (and document) some shared criteria for adding or removing operations in the Vector dialect. For example, the [MemRef dialect documentation](https://mlir.llvm.org/docs/Dialects/MemRef/) includes this guidance:

> Please post an RFC on the [forum](https://llvm.discourse.group/c/mlir/31) before adding or changing any operation in this dialect.

Personally, I found Diego’s [comment above](https://github.com/llvm/llvm-project/pull/141457#issuecomment-2913532482) really helpful in understanding the direction, and I’m supportive of that. That said, I also want to note that others have posted RFCs when proposing new ops — for example:

* https://discourse.llvm.org/t/rfc-improving-gather-codegen-for-vector-dialect/

It would be good to align on expectations here so we’re consistent across the community.

_This is a non-blocking comment._

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


More information about the Mlir-commits mailing list