[all-commits] [llvm/llvm-project] 153329: [MLIR][affine] Prevent fusion when ops with memory...

Vinayaka Bandishti via All-commits all-commits at lists.llvm.org
Mon Feb 22 09:51:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15332982c3d8d1c9e8bd7ae9f76f22f77adb51ee
      https://github.com/llvm/llvm-project/commit/15332982c3d8d1c9e8bd7ae9f76f22f77adb51ee
  Author: Vinayaka Bandishti <vinayaka at polymagelabs.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

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

  Log Message:
  -----------
  [MLIR][affine] Prevent fusion when ops with memory effect free are present between producer and consumer

This commit fixes a bug in affine fusion pipeline where an
incorrect fusion is performed despite a dealloc op is present
between a producer and a consumer. This is done by creating a
node for dealloc op in the MDG.

Reviewed By: bondhugula, dcaballe

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




More information about the All-commits mailing list