This is an archive of the discontinued LLVM Phabricator instance.

[InstrProfiling] Emit runtime hook only once
ClosedPublic

Authored by gulfem on Sep 19 2022, 8:28 PM.

Details

Summary

This patch fixes the issue about calling emitRuntimeHook() twice
when we need to unconditionally emit runtime hook as discussed in
https://reviews.llvm.org/rGd6aed77f0d19.

Diff Detail

Event Timeline

gulfem created this revision.Sep 19 2022, 8:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 8:28 PM
gulfem requested review of this revision.Sep 19 2022, 8:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 8:28 PM
phosek accepted this revision.Sep 19 2022, 11:17 PM

LGTM

This revision is now accepted and ready to land.Sep 19 2022, 11:17 PM
This revision was automatically updated to reflect the committed changes.