This is an archive of the discontinued LLVM Phabricator instance.

update_mir_test_checks.py: add a flag --use-first-common-prefix
AbandonedPublic

Authored by aemerson on Jul 1 2021, 3:59 PM.

Details

Reviewers
arsenm
Summary

update_mir_test_checks.py: add a flag --use-first-common-prefix to use the first common prefix found for generating checks, instead of ignoring them.

Diff Detail

Event Timeline

aemerson requested review of this revision.Jul 1 2021, 3:59 PM
aemerson created this revision.
arsenm added a comment.Jul 1 2021, 4:58 PM

I don't think this should have an option. Ideally it would just be smart like update_llc_test_checks where it understands it expects identical output between the two cases

I don't think this should have an option. Ideally it would just be smart like update_llc_test_checks where it understands it expects identical output between the two cases

This makes it more convenient to at least update tests, and a final run of the tests will confirm if all the common checks were actually identical. Adding verification seems more work than I want to invest, so I'll leave it at that. I can also make it on by default too.

aemerson abandoned this revision.Sep 5 2022, 11:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2022, 11:04 AM