[all-commits] [llvm/llvm-project] 040166: [mlir] Fix `TileUsingForOp` attr-dict printing/par...

Felix Schneider via All-commits all-commits at lists.llvm.org
Wed Nov 22 13:35:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04016684830e10a2267257e5fb4cb28a197ed022
      https://github.com/llvm/llvm-project/commit/04016684830e10a2267257e5fb4cb28a197ed022
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2023-11-22 (Wed, 22 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/test/Dialect/Linalg/transform-ops.mlir

  Log Message:
  -----------
  [mlir] Fix `TileUsingForOp` attr-dict printing/parsing (#72745)

`TileUsingForOp` has an optional Attribute `interchange` which was given
in curly braces like this: `{interchange = [...]}`. The way this was
parsed meant that no normal `attr-dict` could be attached to the Op.
This patch adds printing / parsing of an `attr-dict` to the Op and treats
the `interchange` Attribute as part of that dictionary for now.




More information about the All-commits mailing list