This is an archive of the discontinued LLVM Phabricator instance.

[UpdateTestChecks] Prevent rapid onset insanity when forced to write LoopVectorize-driven costmodel tests
ClosedPublic

Authored by lebedev.ri on Mar 7 2022, 9:36 AM.

Details

Summary

Subj, or on other words, we have a lot of tests that are driven by
the LoopVectorizer's debug output, but we don't have
any meaningful way to autogenerate checklines in them,
which means that an insurmountable amount of manual work
is required when modifying the appropriate cost models.

That is not sustainable, so this presents a solution.

Diff Detail

Event Timeline

lebedev.ri created this revision.Mar 7 2022, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 9:36 AM
Herald added a subscriber: arichardson. · View Herald Transcript
lebedev.ri requested review of this revision.Mar 7 2022, 9:36 AM

After this lands, i'll go over the relevant test coverage and migrate it to use this strategy,
and then maybe improve test coverage further.

Missing Summary?

lebedev.ri edited the summary of this revision. (Show Details)Mar 8 2022, 9:13 AM

I take it we don't want this.

I think this is an useful addition.

RKSimon accepted this revision.Apr 14 2022, 8:04 AM

LGTM (sorry for the delay!)

This revision is now accepted and ready to land.Apr 14 2022, 8:04 AM
This revision was landed with ongoing or failed builds.Apr 15 2022, 5:43 AM
This revision was automatically updated to reflect the committed changes.