2 Commits

Author SHA1 Message Date
Dmitri Gribenko
a811f26335 [llvm][test] Write temporary files into a temporary directory 2024-08-21 10:21:06 +02:00
Tyler Nowicki
7ff377ba60
[Analysis] Fix null ptr dereference when using WriteGraph without branch probability info (#104102)
The call to 'CFGInfo->getBPI()->getEdgeProbability(Node, SuccBB);' fails
when BPI is not provided. In this case we can give up and not print any
edge attributes.

---------

Co-authored-by: tnowicki <tnowicki.nowicki@amd.com>
2024-08-16 15:23:51 -04:00