This is an archive of the discontinued LLVM Phabricator instance.

[profi][NFC] Refactor SampleProfileInference::initFunction
ClosedPublic

Authored by Amir on Jun 5 2023, 5:26 PM.

Details

Summary

Initialize and return FlowFunction from initFunction->createFlowFunction.
Aligns the interface to createFlowFunction in D144500, intent to reuse
in a follow-up.

Diff Detail

Event Timeline

Amir created this revision.Jun 5 2023, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2023, 5:26 PM
Herald added a subscriber: wenlei. · View Herald Transcript
Amir requested review of this revision.Jun 5 2023, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2023, 5:26 PM
spupyrev accepted this revision.Jun 9 2023, 8:19 AM
This revision is now accepted and ready to land.Jun 9 2023, 8:19 AM
This revision was landed with ongoing or failed builds.Jun 9 2023, 12:41 PM
This revision was automatically updated to reflect the committed changes.