[all-commits] [llvm/llvm-project] c9b363: [mlir][scf][bufferize] Fix bufferizesToMemoryRead ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Oct 24 05:34:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9b3638126e520917ad42d3ec38ad31fd389e4b5
      https://github.com/llvm/llvm-project/commit/c9b3638126e520917ad42d3ec38ad31fd389e4b5
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/SCF/one-shot-bufferize-analysis.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][scf][bufferize] Fix bufferizesToMemoryRead with 0 loop iterations

There was a bug in scf.for loop bufferization that could lead to a missing buffer copy (alloc was there, but not the copy).

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




More information about the All-commits mailing list