[mlir][Linalg][Transform] Drop spurious assertion in packGreedilyOp
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 28 Mar 2023 07:54:16 +0000 (00:54 -0700)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 28 Mar 2023 07:56:44 +0000 (00:56 -0700)
commit7cf203e73922b8eaa4c23fba30702d7954eba107
tree75e7370b8a952168fd33b98c0696078cd07fab30
parentcdeaeeeb6430c413201f425b66e8d0f64a18bc94
[mlir][Linalg][Transform] Drop spurious assertion in packGreedilyOp

`transform.pack_greedily` supports skipping dimensions in which case we
may well end up with e.g. a matvec innermost.

We should not spuriously crash in such cases.
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/test/Dialect/Linalg/transform-pack-greedily.mlir