[all-commits] [llvm/llvm-project] f273e5: [MLIR] Fix permuteLoops utility

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Mon Mar 30 11:09:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f273e5c50745d8496846688e3019bc8ef68004e4
      https://github.com/llvm/llvm-project/commit/f273e5c50745d8496846688e3019bc8ef68004e4
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2020-03-30 (Mon, 30 Mar 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    A mlir/test/Dialect/Affine/loop-permute.mlir
    M mlir/test/lib/Dialect/Affine/CMakeLists.txt
    A mlir/test/lib/Dialect/Affine/TestLoopPermutation.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [MLIR] Fix permuteLoops utility

Rewrite mlir::permuteLoops (affine loop permutation utility) to fix
incorrect approach. Avoiding using sinkLoops entirely - use single move
approach. Add test pass.

This fixes https://bugs.llvm.org/show_bug.cgi?id=45328

Depends on D77003.

Signed-off-by: Uday Bondhugula <uday at polymagelabs.com>

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




More information about the All-commits mailing list