[all-commits] [llvm/llvm-project] b8ecf3: DynamicMemRefType: iteration and access by indices

Michele Scuttari via All-commits all-commits at lists.llvm.org
Mon Aug 15 08:39:00 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8ecf32f81bb8073320ad5d4722a1680f615d133
  Author: Michele Scuttari <michele.scuttari at outlook.com>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
    M mlir/unittests/ExecutionEngine/CMakeLists.txt
    A mlir/unittests/ExecutionEngine/DynamicMemRef.cpp

  Log Message:
  DynamicMemRefType: iteration and access by indices

The methods to perform such operations have been implemented for the DynamicMemRefType in a way that is similar to the implementation for StridedMemRefType. Up until here one could pass an unranked memref to the library, and thus obtain a “dynamic” memref descriptor, but then there would have been no possibility to operate on its content.

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

More information about the All-commits mailing list