[all-commits] [llvm/llvm-project] 071d26: [MLIR] Fix generateCopyForMemRefRegion

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Tue Jun 29 22:16:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 071d26f8082391612f3a3f71b1135cbdceb0a30a
      https://github.com/llvm/llvm-project/commit/071d26f8082391612f3a3f71b1135cbdceb0a30a
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Dialect/Affine/affine-data-copy.mlir

  Log Message:
  -----------
  [MLIR] Fix generateCopyForMemRefRegion

Fix generateCopyForMemRefRegion for a missing check: in some cases, when
the thing to generate copies for itself is empty, no fast buffer/copy
loops would have been allocated/generated. Add an extra assertion there
while at this.

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




More information about the All-commits mailing list