[all-commits] [llvm/llvm-project] a3917d: [MLIR][Affine] Privatize certain escaping memrefs

Vinayaka Bandishti via All-commits all-commits at lists.llvm.org
Tue May 18 09:56:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3917d36709755df52386bcf01324a98a068f29d
      https://github.com/llvm/llvm-project/commit/a3917d36709755df52386bcf01324a98a068f29d
  Author: Vinayaka Bandishti <vinayaka at polymagelabs.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/test/Transforms/loop-fusion.mlir

  Log Message:
  -----------
  [MLIR][Affine] Privatize certain escaping memrefs

During affine loop fusion, create private memrefs for escaping memrefs
too under the conditions that:
-- the source is not removed after fusion, and
-- the destination does not write to the memref.

This creates more fusion opportunities as illustrated in the test case.

Reviewed By: bondhugula, ayzhuang

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




More information about the All-commits mailing list