[all-commits] [llvm/llvm-project] 1ce704: [mlir] Properly handle recursive bufferization for...

Sean Silva via All-commits all-commits at lists.llvm.org
Wed Oct 28 14:21:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ce7040359a92a63b7b8cda2b6635627a4428399
      https://github.com/llvm/llvm-project/commit/1ce7040359a92a63b7b8cda2b6635627a4428399
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp
    M mlir/test/Dialect/SCF/bufferize.mlir

  Log Message:
  -----------
  [mlir] Properly handle recursive bufferization for scf.for/scf.if

This fixes a subtle issue, described in the comment starting with
"Clone the op without the regions and inline the regions from the old op",
which prevented this conversion from working on non-trivial examples.

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




More information about the All-commits mailing list