[all-commits] [llvm/llvm-project] 411048: [mlir][transform] Add PackedOrDynamicIndexList helper

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Dec 18 23:08:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 411048c1aee4b32b364789112b75e6f28d962f14
      https://github.com/llvm/llvm-project/commit/411048c1aee4b32b364789112b75e6f28d962f14
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    A mlir/include/mlir/Dialect/Transform/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/TransformOps/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Transform/CMakeLists.txt
    A mlir/lib/Dialect/Transform/Utils/CMakeLists.txt
    A mlir/lib/Dialect/Transform/Utils/Utils.cpp
    M mlir/test/Dialect/Linalg/tile-to-foreach-thread.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][transform] Add PackedOrDynamicIndexList helper

This customer parser/printer is similar to DynamicIndexList, but has special syntax for the case where one handle represents the entire list.

Example:
```
// Regular index list
[10, 20, %val]

// Packed handle (no square parentheses)
%val
```

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




More information about the All-commits mailing list