[all-commits] [llvm/llvm-project] 598f52: [mlir][interfaces] Add ShapedDimOpInterface

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Oct 2 21:59:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 598f5275c16049b1e1b5bc934cbde447a82d485e
      https://github.com/llvm/llvm-project/commit/598f5275c16049b1e1b5bc934cbde447a82d485e
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/include/mlir/Interfaces/CMakeLists.txt
    A mlir/include/mlir/Interfaces/ShapedOpInterfaces.h
    A mlir/include/mlir/Interfaces/ShapedOpInterfaces.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Affine/IR/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/lib/Interfaces/CMakeLists.txt
    A mlir/lib/Interfaces/ShapedOpInterfaces.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][interfaces] Add ShapedDimOpInterface

This interface is implemented by memref.dim and tensor.dim. This change makes it possible to remove a build dependency of the Affine dialect on the Tensor dialect (and maybe also the MemRef dialect in the future).

Differential Revision: https://reviews.llvm.org/D133595




More information about the All-commits mailing list