[all-commits] [llvm/llvm-project] 4c7225: [mlir][Transform] Fix implementation of the generi...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu Jun 23 05:29:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c7225d19a9d1ff62c0ae39049ca3afe2a46c571
      https://github.com/llvm/llvm-project/commit/4c7225d19a9d1ff62c0ae39049ca3afe2a46c571
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    A mlir/test/Dialect/Transform/selective-targeting.mlir
    M mlir/test/Dialect/Transform/test-interpreter.mlir
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.td

  Log Message:
  -----------
  [mlir][Transform] Fix implementation of the generic apply that is based on applyToOne.

The result of applying an N-result producing transformation to M payload ops
is an M-wide result, each containing N result operations.
This requires a transposition of the results obtained by calling `applyToOne`.

This revision fixes the issue and adds more advanced tests that exercise the behavior.

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




More information about the All-commits mailing list