Use color coding to distinguish nodes:
- Entry nodes have bold border
- Scalar (non-loopy) code is milk white
- Outer loops are light yellow
- Innermost loops are light blue
-print-loops needs to be enabled to provide BinaryLoopInfo.
Examples:
Differential D126248
[BOLT][NFC] Use colors in CFG dumps Amir on May 23 2022, 3:36 PM. Authored by
Details
Use color coding to distinguish nodes:
-print-loops needs to be enabled to provide BinaryLoopInfo.
Diff Detail
Event TimelineComment Actions LGTM Should we add a description somewhere (perhaps in the option that enables graph dumps) the information that -print-loops can be enabled for color outputs? Comment Actions Add a note in DumpDotAll help message about using -print-loops to enable |