This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

This fixes a crash in internal builds under SamplePGO.

Diff Detail

Event Timeline

hjyamauchi 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.