[Mlir-commits] [mlir] [mlir][linalg] fix OuterUnitDims linalg.pack decomposition pattern (PR #141613)

Christopher McGirr llvmlistbot at llvm.org
Mon Jun 2 07:30:41 PDT 2025


chrsmcgrr wrote:

@banach-space @hanhanW I've updated the comments and removed the adjacent trailing dimensions check as it is not longer needed. This change will allow for that use-case. 

I have also added the corresponding test to the unpack version which works fine out-of-the-box. Looking at the unpack pattern I can't see a clean way of making the patterns symmetrical. So I will leave it for now.

Let me know what you think. 

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


More information about the Mlir-commits mailing list