[all-commits] [llvm/llvm-project] 183c4a: [MLIR][normalize-memrefs] Non-normalizable operati...

Tung D. Le via All-commits all-commits at lists.llvm.org
Thu Aug 18 20:35:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 183c4a391ef344220664d1d103d43639468bf103
      https://github.com/llvm/llvm-project/commit/183c4a391ef344220664d1d103d43639468bf103
  Author: Tung D. Le <tung at jp.ibm.com>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/NormalizeMemRefs.cpp
    M mlir/test/Transforms/normalize-memrefs-ops.mlir

  Log Message:
  -----------
  [MLIR][normalize-memrefs] Non-normalizable operations with identity map layouts do not block normalization of the entire function

The current approach is convervative in which whenever there is a
non-normalizable operations in a function will the function be labelled
as non-normalizable. It means it requires that all operations must have
MemRefsNormalizable trait.

This patch relaxes the requirement that if the memref map layouts of a
non-normalizable operation are identity, this operation does not block
the normalization of the other operations in the same function.

Reviewed By: bondhugula

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




More information about the All-commits mailing list