Extending the Function::viewCFG prototypes to allow for printing block probability info in form of .dot files during debugging.
Also avoiding an AV when no BFI/BPI available.
Differential D77978
[ViewCFG] Allow printing edge weights in debuggers hoyFB on Apr 12 2020, 11:48 AM. Authored by
Details Extending the Function::viewCFG prototypes to allow for printing block probability info in form of .dot files during debugging. Also avoiding an AV when no BFI/BPI available.
Diff Detail
Event TimelineComment Actions Thanks for the change - this comes in handy for debugger. LGTM.
Comment Actions CFGPrinter.cpp has a viewCFG method -- that one should be replaced with the new interface as well. |
nit: when raw weights is printed, both BFI and BPI is needed. The comment is slightly confusing, though functionality-wise it's fine as EdgeWeights is always checked before RawWeights.