[all-commits] [llvm/llvm-project] 5d7c83: [mlir] add memref dialect as dependent of lower-af...

ftynse via All-commits all-commits at lists.llvm.org
Fri Apr 2 00:17:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7c832e8c14ec0a2823528f8fbbfd3a9e96c828
      https://github.com/llvm/llvm-project/commit/5d7c832e8c14ec0a2823528f8fbbfd3a9e96c828
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/test/Conversion/AffineToStandard/no-memref.mlir

  Log Message:
  -----------
  [mlir] add memref dialect as dependent of lower-affine pass

The lower-affine pass also processes affine load and store operations
that get converted to load and store operations now available in the
memref dialect. Since it produces operations from the memref dialect,
this dialect should be registered as dependent for this pass. It is rare
but possible to have code that doesn't have memref operations in the
input and calls this pass.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list