[all-commits] [llvm/llvm-project] 1e1eea: [mlir][bufferize] Allow non-equivalent yields from...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Mar 16 07:23:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e1eeae84096de4fade53c6055f5f32581b4fc89
      https://github.com/llvm/llvm-project/commit/1e1eeae84096de4fade53c6055f5f32581b4fc89
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][bufferize] Allow non-equivalent yields from scf.for loops

This removes a restriction wrt. scf.for loops during One-Shot Bufferization. Such IR was previously rejected. It is still rejected by default because the bufferized IR could be slow. But such IR can now be bufferized with `allow-return-allocs`.

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




More information about the All-commits mailing list