[all-commits] [llvm/llvm-project] 9610a2: [MLIR] Add memref dialect dependency for affine fu...

Vinayaka Bandishti via All-commits all-commits at lists.llvm.org
Sat May 8 07:46:32 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.td

  Log Message:
  -----------
  [MLIR] Add memref dialect dependency for affine fusion pass

For `AffineLoopFusion` pass, add `memref` dialect as a dependent
dialect. Since the fusion pass can create `memref::AllocOp`s, the
dialect must be registered in its dependent dialects.

The missing dependency was not discovered until now because the above
said op creation happes only when the input already has
`memref::AllocOp`s in it, and all dialects in the input are
automatically added to the context.

Reviewed By: bondhugula

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




More information about the All-commits mailing list