This pattern converts statically shaped linalg.matmul when operands sizes (m, n, k) are an integer multiple of
mmt4d's operands inner most dims (m0, n0, k0).
This pattern does the following transofmrations to operands and mmt4d results:
operands:
lhs: (m, k) -(reshape)-> (m1, m0, k1, k0) -(transpose)-> (m1, k1, m0, k0) rhs: (k, n) -(reshape)-> (k1, k0, n1, n0) -(transpose)-> (n1, k1, n0, k0)
result:
mmt4d: (m1, n1, m0, n0) -(transpose)-> (m1, m0, n1, n0) -(reshape)-> (m, n)
clang-tidy: warning: invalid case style for parameter 'M0' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'N0' [readability-identifier-naming]
not useful