Page MenuHomePhabricator

[PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero crash.
ClosedPublic

Authored by yamauchi on Jan 13 2020, 2:22 PM.

Details

Summary

This fixes a crash in internal builds under SamplePGO.

Diff Detail

Event Timeline

yamauchi created this revision.Jan 13 2020, 2:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2020, 2:22 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
davidxl accepted this revision.Jan 13 2020, 2:28 PM

lgtm

This revision is now accepted and ready to land.Jan 13 2020, 2:28 PM
This revision was automatically updated to reflect the committed changes.