This is an archive of the discontinued LLVM Phabricator instance.

[perf-training] Make training data location configurable
ClosedPublic

Authored by smeenai on Dec 13 2019, 7:42 PM.

Details

Summary

We may wish to keep the PGO training data outside the repository. Add a
CMake variable to allow referencing an external lit testsuite.

Diff Detail

Event Timeline

smeenai created this revision.Dec 13 2019, 7:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 13 2019, 7:42 PM

I'm not sure where best to document this. We have https://llvm.org/docs/HowToBuildWithPGO.html, but that doesn't mention the build system's built-in PGO support as far as I can tell.

phosek accepted this revision.Dec 14 2019, 7:03 AM

LGTM

This revision is now accepted and ready to land.Dec 14 2019, 7:03 AM
This revision was automatically updated to reflect the committed changes.
Amir added a subscriber: Amir.Oct 15 2022, 10:57 PM

Hi @smeenai,

Sorry for asking on this diff, but... Do you have any pointers for training sets?

Thanks!

Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2022, 10:57 PM
Herald added a subscriber: wenlei. · View Herald Transcript