[all-commits] [llvm/llvm-project] 333ee2: [mlir] Transform dialect: separate dependent and g...

ftynse via All-commits all-commits at lists.llvm.org
Mon Jul 25 03:00:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 333ee218ce9b50ef9ded1dbafbb02667e56d18ab
      https://github.com/llvm/llvm-project/commit/333ee218ce9b50ef9ded1dbafbb02667e56d18ab
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformDialect.h
    M mlir/lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
    M mlir/unittests/Dialect/CMakeLists.txt
    A mlir/unittests/Dialect/Transform/BuildOnlyExtensionTest.cpp
    A mlir/unittests/Dialect/Transform/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  [mlir] Transform dialect: separate dependent and generated dialects

In the Transform dialect extensions, provide the separate mechanism to
declare dependent dialects (the dialects the transform IR depends on)
and the generated dialects (the dialects the payload IR may be
transformed into). This allows the Transform dialect clients that are
only constructing the transform IR to avoid loading the dialects
relevant for the payload IR along with the Transform dialect itself,
thus decreasing the build/link time.

Reviewed By: springerm

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




More information about the All-commits mailing list