[all-commits] [llvm/llvm-project] 8a418e: [mlir][Affine] Enable fusion of loops with vector ...

Diego Caballero via All-commits all-commits at lists.llvm.org
Tue Jun 2 15:28:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a418e5f8e89af7197e2d7dc10e39885b05fe0b8
      https://github.com/llvm/llvm-project/commit/8a418e5f8e89af7197e2d7dc10e39885b05fe0b8
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/lib/Transforms/Utils/LoopFusionUtils.cpp
    M mlir/lib/Transforms/Utils/Utils.cpp
    M mlir/test/Transforms/loop-fusion.mlir

  Log Message:
  -----------
  [mlir][Affine] Enable fusion of loops with vector loads/stores

This patch enables affine loop fusion for loops with affine vector loads
and stores. For that, we only had to use affine memory op interfaces in
LoopFusionUtils.cpp and Utils.cpp so that vector loads and stores are
also taken into account.

Reviewed By: andydavis1, ftynse

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




More information about the All-commits mailing list