This is an archive of the discontinued LLVM Phabricator instance.

[pgo] Improve check for enablesValueProfiling
AbandonedPublic

Authored by paulkirth on Nov 7 2022, 11:03 AM.

Details

Reviewers
None
Summary

Currently, the check for enablesValueProfiling only considers if it was
specifically added, or is enabled by default under IR profiling. However, we
allow value profiling to be disabled through the DisableValueProfiling flag,
but do not account for this path in InstrProfiling. This change exposes that
flag from PGOInstrumentation.cpp, and uses it as part of its check for whether
value profiling is enabled.

Diff Detail

Event Timeline

paulkirth created this revision.Nov 7 2022, 11:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2022, 11:03 AM
paulkirth requested review of this revision.Nov 7 2022, 11:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2022, 11:03 AM
paulkirth abandoned this revision.Nov 14 2022, 2:14 PM