[all-commits] [llvm/llvm-project] 8d15b7: [mlir] Improve Graphviz visualization in PrintOpPass

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 3 19:57:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d15b7dcbaa1469d7e147ebdce988cca861ace6d
      https://github.com/llvm/llvm-project/commit/8d15b7dcbaa1469d7e147ebdce988cca861ace6d
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M mlir/include/mlir/Support/IndentedOstream.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/include/mlir/Transforms/ViewOpGraph.h
    M mlir/lib/Transforms/CMakeLists.txt
    M mlir/lib/Transforms/ViewOpGraph.cpp
    M mlir/test/Transforms/print-op-graph.mlir

  Log Message:
  -----------
  [mlir] Improve Graphviz visualization in PrintOpPass

* Visualize blocks and regions as subgraphs.
* Generate DOT file directly instead of using `GraphTraits`. `GraphTraits` does not support subgraphs.

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




More information about the All-commits mailing list