[all-commits] [llvm/llvm-project] b2826c: [mlir][NFC] Move offsets/sizes/strides helper to d...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jul 31 05:58:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2826c020975a77cb24f1f69a5460e5bf136b837
      https://github.com/llvm/llvm-project/commit/b2826c020975a77cb24f1f69a5460e5bf136b837
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
    M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/lib/Dialect/Arith/Utils/Utils.cpp
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp

  Log Message:
  -----------
  [mlir][NFC] Move offsets/sizes/strides helper to dialect utils and interface header

* Move `foldDynamicIndexList` to `DialectUtils` and simplify function.
* Move `OpWithOffsetSizesAndStridesConstantArgumentFolder` to `ViewLikeInterface` and add documentation.

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




More information about the All-commits mailing list