[mlir] Export `collapseGenericOpIterationDims` (NFC)
authorGuray Ozen <guray.ozen@gmail.com>
Fri, 25 Nov 2022 09:52:51 +0000 (10:52 +0100)
committerGuray Ozen <guray.ozen@gmail.com>
Mon, 28 Nov 2022 12:54:26 +0000 (13:54 +0100)
commit135977c92a173b716d76c026972a677681f5c6bd
tree292fd636926d8b54906849bd120ba329b6b2f87e
parent99b5ec1fd1a70680a8483e5efb86807254e44e0e
[mlir] Export `collapseGenericOpIterationDims` (NFC)

This revision exports `collapseGenericOpIterationDims` to a header so it can be used outside of the pattern.  We have use-case where we want to call this function directly.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D138697
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp