The main goal of this commit is to remove the dependency of Standard dialect on the Tensor dialect.
- Rename ops: SubTensorOp --> ExtractSliceOp, SubTensorInsertOp --> InsertSliceOp
- 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).
Depends On D104506
Naming thing: I think we decided that these ops would be called something like tensor.slice/tensor.insert_slice (having the word "subtensor" and the "tensor." dialect prefix seems excessive). Can you rename them?