This is an archive of the discontinued LLVM Phabricator instance.

[utils] allow opt-8, opt-9 distro
ClosedPublic

Authored by shawnl on Apr 25 2019, 1:53 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

shawnl created this revision.Apr 25 2019, 1:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2019, 1:53 PM
shawnl edited reviewers, added: RKSimon; removed: sanjay.nm.Apr 25 2019, 1:54 PM
shawnl added a reviewer: MaskRay.

Why?
It doesn't make sense to generate check lines with anything other than the newly-built opt.

Why?
It doesn't make sense to generate check lines with anything other than the newly-built opt.

Same thoughts here - I'm not against this change but first I'd like some context as to why its useful.

MaskRay requested changes to this revision.Apr 29 2019, 3:13 AM

Same thoughts. The version of the opt command must be in sync with the version of tests. Since this utility is only useful for top of trunk, an older opt is not useful.

This revision now requires changes to proceed.Apr 29 2019, 3:13 AM

Yeah sorry. I wanted to use these http://apt.llvm.org/ to sanity check myself. While you can always just use opt directly, using this tool make git diff work.

shawnl requested review of this revision.Apr 29 2019, 4:41 PM

I have not objection @MaskRay can you approve if you're happy with this?

MaskRay accepted this revision.May 2 2019, 3:33 AM

I think there may be some value to compare how releases evolve..

utils/update_test_checks.py
71 ↗(On Diff #196722)

We can probably use if not re.match(r'^opt(-\d+)?$', opt_basename):

This revision is now accepted and ready to land.May 2 2019, 3:33 AM

Shawn asked me to commit on behalf of him :)

This revision was automatically updated to reflect the committed changes.