[all-commits] [llvm/llvm-project] f98d73: [MLIR] Make the implementations for getMixedOffset...

frgossen via All-commits all-commits at lists.llvm.org
Thu Aug 4 08:58:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f98d73f4e03725c0abd7d59297706cd8901bbb60
      https://github.com/llvm/llvm-project/commit/f98d73f4e03725c0abd7d59297706cd8901bbb60
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

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

  Log Message:
  -----------
  [MLIR] Make the implementations for getMixedOffsets/Sizes/Strides independent of OffsetSizeAndStrideOpInterface

The functions are effectively independent of the interface already, however, they take it as an argument for no reason.
The current state complicates reuse outside of MLIR.

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




More information about the All-commits mailing list