[all-commits] [llvm/llvm-project] f82d30: [mlir][Affine] Remove single iteration affine.for ...

Diego Caballero via All-commits all-commits at lists.llvm.org
Mon Nov 2 16:59:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f82d307c9833abf5b00e9d2552c86ecae467bfca
      https://github.com/llvm/llvm-project/commit/f82d307c9833abf5b00e9d2552c86ecae467bfca
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-11-02 (Mon, 02 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Passes.h
    M mlir/include/mlir/Dialect/Affine/Passes.td
    A mlir/lib/Dialect/Affine/Transforms/AffineLoopNormalize.cpp
    R mlir/lib/Dialect/Affine/Transforms/AffineParallelNormalize.cpp
    M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
    A mlir/test/Dialect/Affine/affine-loop-normalize.mlir
    R mlir/test/Dialect/Affine/affine-parallel-normalize.mlir

  Log Message:
  -----------
  [mlir][Affine] Remove single iteration affine.for ops in AffineLoopNormalize

This patch renames AffineParallelNormalize to AffineLoopNormalize to make it
more generic and be able to hold more loop normalization transformations in
the future for affine.for and affine.parallel ops. Eventually, it could also be
extended to support scf.for and scf.parallel. As a starting point for affine.for,
the patch also adds support for removing single iteration affine.for ops to the
the pass.

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




More information about the All-commits mailing list