[all-commits] [llvm/llvm-project] b65f21: [mlir] Provide getMixedOffsets/sizes/strides as fr...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Thu Jan 13 02:46:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b65f21a4988dc4666d228f5f00891c25aa0e921b
      https://github.com/llvm/llvm-project/commit/b65f21a4988dc4666d228f5f00891c25aa0e921b
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2022-01-13 (Thu, 13 Jan 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] Provide getMixedOffsets/sizes/strides as free functions

* This is useful when you need to build mixed array from external static/dynamic arrays (e.g. from adaptor during dialect conversion)
* Also, to reduce C++ code in td and generated files

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




More information about the All-commits mailing list