Page MenuHomePhabricator

[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.