[all-commits] [llvm/llvm-project] 9c55e7: [mlir][linalg][bufferize] Bufferize using PostOrde...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Oct 21 01:22:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c55e718f537577f2aac9e52b2dce9e01aadd1d7
      https://github.com/llvm/llvm-project/commit/9c55e718f537577f2aac9e52b2dce9e01aadd1d7
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][linalg][bufferize] Bufferize using PostOrder traversal

This is required for bufferization of scf::IfOp, which is added in a subsequent commit.

Some ops (scf::ForOp, TiledLoopOp) require PreOrder traversal to make sure that bbArgs are mapped before bufferizing the loop body.

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




More information about the All-commits mailing list