[PATCH] D74346: Flags for displaying only hot nodes in CFGPrinter graph

Artur Pilipenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 12:24:47 PST 2020


apilipenko accepted this revision.
apilipenko added a comment.
This revision is now accepted and ready to land.

LGTM with the renaming addressed.



================
Comment at: llvm/lib/Analysis/CFGPrinter.cpp:39-44
+static cl::opt<bool> DisableUnreachablePaths("cfg-hide-unreachable-paths",
+            cl::init(false));
+
+static cl::opt<bool> DisableDeoptimizePaths("cfg-hide-deoptimize-paths",
+            cl::init(false));
+
----------------
Suggest renaming to HideUnreachablePaths, HideDeoptimizePaths.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74346/new/

https://reviews.llvm.org/D74346





More information about the llvm-commits mailing list