[all-commits] [llvm/llvm-project] e66f2b: [mlir][IR][NFC] Move CastOpInterface helpers to ml...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jun 1 23:40:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e66f2beba8b38b148d3a892326a7133c388ffbfb
      https://github.com/llvm/llvm-project/commit/e66f2beba8b38b148d3a892326a7133c388ffbfb
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
    M mlir/include/mlir/Dialect/Shape/IR/Shape.h
    M mlir/include/mlir/IR/BuiltinOps.h
    M mlir/include/mlir/IR/BuiltinOps.td
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/include/mlir/Interfaces/CastInterfaces.h
    M mlir/include/mlir/Interfaces/CastInterfaces.td
    M mlir/lib/Dialect/Arith/IR/CMakeLists.txt
    M mlir/lib/Dialect/Transform/IR/CMakeLists.txt
    M mlir/lib/IR/BuiltinDialect.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/Interfaces/CastInterfaces.cpp
    M mlir/test/lib/Tools/PDLL/CMakeLists.txt
    M mlir/test/lib/Tools/PDLL/TestPDLL.cpp
    M mlir/tools/mlir-opt/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch4/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch5/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch6/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch7/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [mlir][IR][NFC] Move CastOpInterface helpers to mlir/Interfaces

These helpers should not be part of the IR build unit.

The interface is now implemented on `builtin.unrealized_conversion_cast` with an external model.

Also rename the CastOpInterfaces Bazel target name to CastInterfaces to be consistent with the CMake target name.

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




More information about the All-commits mailing list