[all-commits] [llvm/llvm-project] e2c8fc: [mlir][linalg] Fold dim(linalg.tiled_loop) to dim(...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Sep 8 21:44:51 PDT 2021


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

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Fold dim(linalg.tiled_loop) to dim(output_arg)

Fold dim ops of linalg.tiled_loop results to dim ops of the respective iter args if the loop is shape preserving.

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




More information about the All-commits mailing list