diff options
| author | Matthias Springer <springerm@google.com> | 2021-06-22 16:49:08 +0900 |
|---|---|---|
| committer | Matthias Springer <springerm@google.com> | 2021-06-22 17:55:53 +0900 |
| commit | 060208b4c8b78b2456b8440d9597c9f584676bf4 (patch) | |
| tree | 57bda026a28e85b692b2bf8c916b03b7e0abd0fb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c97cf73867dd42d18361226ad43dfca00278dce3 (diff) | |
[mlir][NFC] Move SubTensorOp and SubTensorInsertOp to TensorDialect
The main goal of this commit is to remove the dependency of Standard dialect on the Tensor dialect.
* Rename SubTensorOp -> tensor.extract_slice, SubTensorInsertOp -> tensor.insert_slice.
* Some helper functions are (already) duplicated between the Tensor dialect and the MemRef dialect. To keep this commit smaller, this will be cleaned up in a separate commit.
* Additional dialect dependencies: Shape --> Tensor, Tensor --> Standard
* Remove dialect dependencies: Standard --> Tensor
* Move canonicalization test cases to correct dialect (Tensor/MemRef).
Note: This is a fixed version of https://reviews.llvm.org/D104499, which was reverted due to a missing update to two CMakeFile.txt.
Differential Revision: https://reviews.llvm.org/D104676
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
