[all-commits] [llvm/llvm-project] e13180: Support non identity layout map for reshape ops in...

Yi Zhang via All-commits all-commits at lists.llvm.org
Tue Apr 26 10:06:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1318078a4e160eb723bcbcfcdcc9a1b618f7067
      https://github.com/llvm/llvm-project/commit/e1318078a4e160eb723bcbcfcdcc9a1b618f7067
  Author: Yi Zhang <cathyzhyi at google.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/MemRefBuilder.h
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir

  Log Message:
  -----------
  Support non identity layout map for reshape ops in MemRefToLLVM lowering

This change borrows the ideas from `computeExpanded/CollapsedLayoutMap`
and computes the dynamic strides at runtime for the memref descriptors.

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




More information about the All-commits mailing list