[all-commits] [llvm/llvm-project] 9926ad: [mlir] Move getDimsOfType to StructuredOpsUtils.h.

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Wed Sep 21 05:50:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9926ad17525a3424618b710a5bb882b392793e8d
      https://github.com/llvm/llvm-project/commit/9926ad17525a3424618b710a5bb882b392793e8d
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

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

  Log Message:
  -----------
  [mlir] Move getDimsOfType to StructuredOpsUtils.h.

Summary:
This change will bring all helpers that work with iterator types to one place.
Currently getDimsOfType is is declared in Linalg.h, but not directly included by
LinalgInterfaces. It worked so far only because all the places that include
LinalgInterfaces.h also include Linalg.h directly or indirectly.

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




More information about the All-commits mailing list