[all-commits] [llvm/llvm-project] 3bfbc5: [MLIR][Affine] Fix createPrivateMemRef in affine f...

Diego Caballero via All-commits all-commits at lists.llvm.org
Tue Aug 4 12:34:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bfbc5df87cb0e736fe917e4a8d5166bc0b4ea79
      https://github.com/llvm/llvm-project/commit/3bfbc5df87cb0e736fe917e4a8d5166bc0b4ea79
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/test/Transforms/loop-fusion.mlir

  Log Message:
  -----------
  [MLIR][Affine] Fix createPrivateMemRef in affine fusion

Always define a remapping for the memref replacement (`indexRemap`)
with the proper number of inputs, including all the `outerIVs`, so that
the number of inputs and the operands provided for the map don't mismatch.

Reviewed By: bondhugula, andydavis1

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




More information about the All-commits mailing list