[all-commits] [llvm/llvm-project] 2ce4ca: Moved getStaticLoopRanges and getStaticShape metho...

inho9606 via All-commits all-commits at lists.llvm.org
Wed Mar 10 04:06:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ce4caf4143bc7f6fe084da03d2ce268a7a06a6d
      https://github.com/llvm/llvm-project/commit/2ce4caf4143bc7f6fe084da03d2ce268a7a06a6d
  Author: Inho Seo <inhoseo at google.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp

  Log Message:
  -----------
  Moved getStaticLoopRanges and getStaticShape methods to LinalgInterfaces.td to add static shape verification

It is to use the methods in LinalgInterfaces.cpp for additional static shape verification to match the shaped operands and loop on linalgOps. If I used the existing methods, I would face circular dependency linking issue. Now we can use them as methods of LinalgOp.

Reviewed By: hanchung

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




More information about the All-commits mailing list