This is an archive of the discontinued LLVM Phabricator instance.

[BFI] Add a debug check for unknown block queries.
ClosedPublic

Authored by hjyamauchi on Feb 3 2020, 1:09 PM.

Details

Summary

Add a debug check for frequency queries for unknown blocks (typically blocks
that are created after BFI is computed but their frequencies are not
communicated to BFI.)

This is useful for detecting and debugging missed BFI updates.

This is debug build only and disabled behind a flag.

Diff Detail

Event Timeline

hjyamauchi created this revision.Feb 3 2020, 1:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2020, 1:09 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
davidxl accepted this revision.Feb 3 2020, 1:22 PM

thanks, this is a very useful feature. LGTM

This revision is now accepted and ready to land.Feb 3 2020, 1:22 PM
This revision was automatically updated to reflect the committed changes.