[all-commits] [llvm/llvm-project] d7058a: [mlir] Add MemRef filter to affine data copy optim...

Diego Caballero via All-commits all-commits at lists.llvm.org
Fri Feb 14 13:47:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d7058acc145c637f82cf4aa90358bdcacccf766c
      https://github.com/llvm/llvm-project/commit/d7058acc145c637f82cf4aa90358bdcacccf766c
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Transforms/AffineDataCopyGeneration.cpp
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Transforms/affine-data-copy.mlir
    M mlir/test/Transforms/dma-generate.mlir
    M mlir/test/lib/Transforms/CMakeLists.txt
    A mlir/test/lib/Transforms/TestAffineDataCopy.cpp
    M mlir/test/lib/Transforms/TestLoopFusion.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir] Add MemRef filter to affine data copy optimization

This patch extends affine data copy optimization utility with an
optional memref filter argument. When the memref filter is used, data
copy optimization will only generate copies for such a memref.

Note: this patch is just porting the memref filter feature from Uday's
'hop' branch: https://github.com/bondhugula/llvm-project/tree/hop.

Reviewed By: bondhugula

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




More information about the All-commits mailing list