[all-commits] [llvm/llvm-project] 46cfdf: [mlir][Linalg] Fix Generalize transform

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Mar 31 00:38:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46cfdfb5f799d01ffe902dc8f2b66b3d9c7eec4f
      https://github.com/llvm/llvm-project/commit/46cfdfb5f799d01ffe902dc8f2b66b3d9c7eec4f
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
    M mlir/test/Dialect/Linalg/transform-op-generalize.mlir

  Log Message:
  -----------
  [mlir][Linalg] Fix Generalize transform

Generalize used to fail on ops that have a null region builder.
This is incorrect, the test should be whether the op has a region or not.
In the future we may want to support 0-region ops with a region builder.

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


  Commit: 56fd39749c359034449eb53dcbc30aa1afce75aa
      https://github.com/llvm/llvm-project/commit/56fd39749c359034449eb53dcbc30aa1afce75aa
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp

  Log Message:
  -----------
  [mlir][Transform] NFC - Make debug logging more actionnable


Compare: https://github.com/llvm/llvm-project/compare/fb0b035e35ba...56fd39749c35


More information about the All-commits mailing list