[all-commits] [llvm/llvm-project] f8a2cd: Support affine.load/store ops in fold-memref-subvi...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Sun Jan 30 21:11:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8a2cd67b9ad414508235b9bd1489651ed9938e6
      https://github.com/llvm/llvm-project/commit/f8a2cd67b9ad414508235b9bd1489651ed9938e6
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/FoldSubViewOps.cpp
    M mlir/test/Dialect/MemRef/fold-subview-ops.mlir

  Log Message:
  -----------
  Support affine.load/store ops in fold-memref-subview-ops pass

Support affine.load/store ops in fold-memref-subview ops pass. The
existing pass just "inlines" the subview operation on load/stores by
inserting affine.apply ops in front of the memref load/store ops: this
is by design always consistent with the semantics on affine.load/store
ops and the same would work even more naturally/intuitively with the
latter.

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




More information about the All-commits mailing list