[all-commits] [llvm/llvm-project] bb94b2: [MLIR][Affine] Generalize/fix mdg init for region-...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Thu Nov 9 06:24:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb94b23f73bd991928caebeb181326b553115ffa
      https://github.com/llvm/llvm-project/commit/bb94b23f73bd991928caebeb181326b553115ffa
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M mlir/lib/Dialect/Affine/Analysis/Utils.cpp
    A mlir/test/Dialect/Affine/loop-fusion-scf-mixed.mlir

  Log Message:
  -----------
  [MLIR][Affine] Generalize/fix mdg init for region-holding ops with known control flow (#71754)

Generalize/fix mdg init for region-holding ops with well-defined control
flow. Use the memory effect interface to determine when to create a
node. While on this, remove the special treatment there for call ops.

This allows fusion of affine nests even in the presence of scf region
ops elsewhere in the Block. Previously, even a single scf.for/if/while
op in a block would have made fusion bail out on all affine fusion that
was possible. Addressed.




More information about the All-commits mailing list