[all-commits] [llvm/llvm-project] 726835: [mlir] Update how scalable indices are printed

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Fri Jun 2 09:04:26 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 726835cd51503c3d287904ea2d4055c41f969e71
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/Transform/Utils/Utils.cpp
    M mlir/lib/Interfaces/ViewLikeInterface.cpp
    M mlir/test/Dialect/Transform/ops.mlir

  Log Message:
  [mlir] Update how scalable indices are printed

This patch makes sure that scalable indices (that would normally
represent scalable tile or vector sizes) are printed correctly, i.e.
with additional square brackets:
%1, %loop = transform.structured.tile %0 [2, 8, [4]]

This change complements https://reviews.llvm.org/D150944 and is a part
of a larger effort to enable scalable vectorisation in Linalg. See this
RFC for more context:
  * https://discourse.llvm.org/t/rfc-scalable-vectorisation-in-linalg/

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

More information about the All-commits mailing list