[all-commits] [llvm/llvm-project] a87be1: [mlir] Truncate/skip long strings in ViewOpGraph.cpp

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 3 20:15:20 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/lib/Transforms/ViewOpGraph.cpp

  Log Message:
  -----------
  [mlir] Truncate/skip long strings in ViewOpGraph.cpp

* New pass option `max-label-len`: Truncate attributes/result types that have more #chars.
* New pass option `print-attrs`: Activate/deactivate rendering of attributes.
* New pass option `printResultTypes`: Activate/deactivate rendering of result types.

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




More information about the All-commits mailing list