[all-commits] [llvm/llvm-project] e33c9b: Flags for displaying only hot nodes in CFGPrinter ...

arpilipe via All-commits all-commits at lists.llvm.org
Fri Feb 21 17:20:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e33c9bb245a0c17cdd5c06897a911f908215db50
      https://github.com/llvm/llvm-project/commit/e33c9bb245a0c17cdd5c06897a911f908215db50
  Author: Kirill Naumov <knaumov at azul.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/lib/Analysis/CFGPrinter.cpp
    A llvm/test/Other/cfg_deopt_unreach.ll

  Log Message:
  -----------
  Flags for displaying only hot nodes in CFGPrinter graph

Added two flags to omit uncommon or dead paths in the CFG graphs:
  -cfg-hide-unreachable-paths
  -cfg-hide-deoptimize-paths

The main purpose is performance analysis when such block are not
"interesting" from perspective of common path performance.

Reviewed By: apilipenko, davidxl

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




More information about the All-commits mailing list