[Mlir-commits] [mlir] [mlir] Canonicalize tensor.extract_slice (linalg.fill) (PR #112619)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 25 19:20:16 PDT 2024


https://github.com/MaheshRavishankar requested changes to this pull request.

I think you should avoid using a `tensor.empty` for the destination of the `fill` op. It is better just using a slice of a destination.

Come to think of it, that way you could drop the multiple use constraint too..

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


More information about the Mlir-commits mailing list