[Mlir-commits] [mlir] [mlir][Tensor][Func] Rewrite single-dim Tensor return to Scalar (PR #194404)

Matthias Springer llvmlistbot at llvm.org
Thu May 28 15:04:31 PDT 2026


matthias-springer wrote:

> I was hoping we could extract something from that, but since it focuses on Linalg, there was not really much for us; we want to scalarize func.func.

The transformation is not really specific to Linalg. E.g., there are lowering rules for `cf` and `scf` dialect ops. It was just placed in `Linalg/Transforms` for the lack of a better place.


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


More information about the Mlir-commits mailing list