[mlir][Linalg] Modify `InferStaticShapeOfOperands` to work on Linalg Ops.
Commit rG1a2bb03edab9d7aa31beb587d0c863acc6715d27 introduced a pattern to convert dynamic dimensions in operands of `GenericOp`s to static values based on indexing maps and shapes of other operands. The logic is directly usable to any `LinalgOp`. Move that pattern as an `OpInterfaceRewritePattern`. Differential Revision: https://reviews.llvm.org/D120968
Loading
Please sign in to comment