[Mlir-commits] [mlir] [mlir][linalg] Enable CollapseLinalgDimensions to collapse ops with C… (PR #70653)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Oct 30 23:29:36 PDT 2023


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

Ill review this, but in general IMO having `0`s in indexing maps is an anti-pattern... Have you tried using `FoldUnitExtentDims` pass... it is meant to convert the numpy-style broadcasting into more canonical Linalg broadcasting.

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


More information about the Mlir-commits mailing list