[all-commits] [llvm/llvm-project] cc23c6: [BOLT][NFC] Print block instructions in dumpGraph ...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Jun 1 23:41:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc23c64ff1af8ed4cc4ca60dc62208df3963285d
      https://github.com/llvm/llvm-project/commit/cc23c64ff1af8ed4cc4ca60dc62208df3963285d
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT][NFC] Print block instructions in dumpGraph as part of node label

Reuse the option `-dot-tooltip-code` to put block instructions into the label.
This way, the instructions are displayed by default when used with dot viewer.

When the .dot file is used with dot2html, instructions are hidden by default,
and are shown by clicking on a node.

{F23169510}

Reviewed By: rafauler

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




More information about the All-commits mailing list