[all-commits] [llvm/llvm-project] 76d075: [MLIR] Introduce inter-procedural memref layout no...

avarmapml via All-commits all-commits at lists.llvm.org
Thu Jul 30 05:45:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76d07503f0c69f6632e6d8d4736e2a4cb4055a92
      https://github.com/llvm/llvm-project/commit/76d07503f0c69f6632e6d8d4736e2a4cb4055a92
  Author: Abhishek Varma <abhishek.varma at polymagelabs.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/include/mlir/Transforms/Utils.h
    M mlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
    M mlir/lib/Transforms/CMakeLists.txt
    A mlir/lib/Transforms/NormalizeMemRefs.cpp
    M mlir/lib/Transforms/Utils/Utils.cpp
    R mlir/test/Transforms/memref-normalize.mlir
    A mlir/test/Transforms/normalize-memrefs.mlir

  Log Message:
  -----------
  [MLIR] Introduce inter-procedural memref layout normalization

-- Introduces a pass that normalizes the affine layout maps to the identity layout map both within and across functions by rewriting function arguments and call operands where necessary.
-- Memref normalization is now implemented entirely in the module pass '-normalize-memrefs' and the limited intra-procedural version has been removed from '-simplify-affine-structures'.
-- Run using -normalize-memrefs.
-- Return ops are not handled and would be handled in the subsequent revisions.

Signed-off-by: Abhishek Varma <abhishek.varma at polymagelabs.com>

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




More information about the All-commits mailing list