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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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
Comment Actions
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.