This is an archive of the discontinued LLVM Phabricator instance.

[LNT] PGO and reference input support for SPEC
ClosedPublic

Authored by anemet on Nov 16 2015, 3:33 PM.

Details

Summary

This adds the LNT parts for D14734.

Besides the new flags, we need to pass a few more things to the test module in order to invoke make inside. Also a few more shared utilities are added to the TestModule base class.

Diff Detail

Repository
rL LLVM

Event Timeline

anemet updated this revision to Diff 40352.Nov 16 2015, 3:33 PM
anemet retitled this revision from to [LNT] PGO and reference input support for SPEC.
anemet updated this object.
anemet added a reviewer: cmatthews.
anemet added subscribers: MatzeB, llvm-commits.
cmatthews accepted this revision.Nov 17 2015, 10:35 AM
cmatthews edited edge metadata.

I am a little worried about the --pgo option misleading the user into thinking most things might be run with pgo. For now could we change it to --spec-with-pgo or something like that. If more of the test-suite supports PGO it would be fine to have a more general flag.

Besides that, LGTM.

This revision is now accepted and ready to land.Nov 17 2015, 10:35 AM

I am a little worried about the --pgo option misleading the user into thinking most things might be run with pgo. For now could we change it to --spec-with-pgo or something like that. If more of the test-suite supports PGO it would be fine to have a more general flag.

Makes sense, I will change it. Thanks for the reviews!

This revision was automatically updated to reflect the committed changes.