[all-commits] [llvm/llvm-project] af664e: [mlir][Transform] Add a transform.split_handles op...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Oct 7 09:01:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af664e445940f24ce7af1b18af489e2b8ae17614
      https://github.com/llvm/llvm-project/commit/af664e445940f24ce7af1b18af489e2b8ae17614
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/test-interpreter.mlir
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp

  Log Message:
  -----------
  [mlir][Transform] Add a transform.split_handles operation and fix general silenceable bugs.

The transform.split_handles op is useful for ensuring a statically known number of operations are
tracked by the source `handle` and to extract them into individual handles
that can be further manipulated in isolation.

In the process of making the op robust wrt to silenceable errors and the suppress mode, issues were
uncovered and fixed.

The main issue was that silenceable errors were short-circuited too early and the payloads were not
set. This resulted in suppressed silenceable errors not propagating correctly.
Fixing the issue triggered a few test failures: silenceable error returns now must properly set the results state.

Reviewed By: springerm

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


  Commit: ad1efb51914780937c704eb6e1ca9554feca08a7
      https://github.com/llvm/llvm-project/commit/ad1efb51914780937c704eb6e1ca9554feca08a7
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Retire LinalgStrategyDecomposePass and filter-based pattern.

Context: https://discourse.llvm.org/t/psa-retire-linalg-filter-based-patterns/63785

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


Compare: https://github.com/llvm/llvm-project/compare/06019b8e552e...ad1efb519147


More information about the All-commits mailing list