[all-commits] [llvm/llvm-project] 02d29a: [MLIR] Add `decomposeMixedStridesOrOffsets` and `d...

frgossen via All-commits all-commits at lists.llvm.org
Thu Jun 23 16:08:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02d29afd16d752eddb7949364343ea275fff6e30
      https://github.com/llvm/llvm-project/commit/02d29afd16d752eddb7949364343ea275fff6e30
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/lib/Interfaces/ViewLikeInterface.cpp

  Log Message:
  -----------
  [MLIR] Add `decomposeMixedStridesOrOffsets` and `decomposeMixedSizes`

Add the reverse functions to the ViewLikeInterface's functions
`getMixedStrides`, `getMixedSizes`, and `getMixedOffsets`. The new functions
are useful to build view-like operations from an array of mixed static/dynamic
values.

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




More information about the All-commits mailing list