[all-commits] [llvm/llvm-project] a77524: [mlir][Linalg] Add a ComprehensiveModuleBufferizeP...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue Jun 29 12:20:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a77524cd2c20f4d0aa4ddd164f12f7af64b5bfc8
      https://github.com/llvm/llvm-project/commit/a77524cd2c20f4d0aa4ddd164f12f7af64b5bfc8
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/IR/FunctionSupport.h
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    A mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
    A mlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add a ComprehensiveModuleBufferizePass and support for CallOp analysis(9/n)

This revision adds the minimal plumbing to create a simple ComprehensiveModuleBufferizePass that can behave conservatively in the presence of CallOps.

A topological sort of caller/callee is performed and, if the call-graph is cycle-free, analysis can proceed.

Differential revision: https://reviews.llvm.org/D104859




More information about the All-commits mailing list