[mlir][Linalg] Refactor StructuredOpInterface - NFC
authorNicolas Vasilache <ntv@google.com>
Fri, 11 Sep 2020 10:19:07 +0000 (06:19 -0400)
committerNicolas Vasilache <ntv@google.com>
Fri, 11 Sep 2020 11:53:12 +0000 (07:53 -0400)
commite6f2f17f05a1248b069ba830c4afffd61ee2f297
tree3b4f5f326854ca41782c3ec1539b46de10032772
parent7527898fef47da929e70c81100a0248c2f445762
[mlir][Linalg] Refactor StructuredOpInterface - NFC

This revision refactors and cleans up a bunch of things to simplify StructuredOpInterface
before work can proceed on Linalg on tensors:
- break out pieces of the StructuredOps trait that are part of the StructuredOpInterface,
- drop referenceIterators and referenceIndexingMaps that end up being more confusing than useful,
- drop NamedStructuredOpTrait
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/invalid.mlir
mlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp