[all-commits] [llvm/llvm-project] fb1def: [mlir][linalg] New tiling option: Scalarize dynami...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Sep 13 18:43:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb1def9c6618ebde17268b61d370781b25258d3e
      https://github.com/llvm/llvm-project/commit/fb1def9c6618ebde17268b61d370781b25258d3e
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    A mlir/test/Dialect/Linalg/tile-scalarize-dynamic-dims.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][linalg] New tiling option: Scalarize dynamic dims

This tiling option scalarizes all dynamic dimensions, i.e., it tiles all dynamic dimensions by 1.

This option is useful for linalg ops with partly dynamic tensor dimensions. E.g., such ops can appear in the partial iteration after loop peeling. After scalarizing dynamic dims, those ops can be vectorized.

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




More information about the All-commits mailing list