[NFC][MLIR][Linalg] Refactor linalg.matmul tablegen ODS and related C++ code. (#116377)
commit288f05f63e5f3246657aca9561d75b2aa02cb6f5
authorMd Asghar Ahmad Shahid <md.asghar.ahmad.shahid@intel.com>
Wed, 20 Nov 2024 09:26:06 +0000 (20 14:56 +0530)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 09:26:06 +0000 (20 09:26 +0000)
tree53786fc0e7db0cf49fa263b7f5b49b9783c4d63d
parentb7ddb97ac2cfb57f17c7f68815606cbd57918417
[NFC][MLIR][Linalg] Refactor linalg.matmul tablegen ODS and related C++ code. (#116377)

This commit refactors part of the code in preparation for the migration
of other *matmul* variants from OpDSL to ODS.
Moves getDefaultIndexingmaps() helper into the MatmulOp class.
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp