OSDN Git Service

Add a utility to update MIR checks, similar to update_llc_test_checks
authorJustin Bogner <mail@justinbogner.com>
Wed, 18 Oct 2017 02:20:31 +0000 (02:20 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 18 Oct 2017 02:20:31 +0000 (02:20 +0000)
commitae96b7ff9f97c3b3d78c4212337d90d9192d7012
tree6fdd9f365501f056b2c253c3e9042d6b350bdda4
parentb8354dd5d80607e361bdcb57a23aba5d7627cca3
Add a utility to update MIR checks, similar to update_llc_test_checks

This adds update_mir_test_checks, which updates the check lines in mir
tests. This can only update tests that start and end with .mir
currently (ie, -run-pass) but it should be sufficient for updating at
least some of the GlobalISel tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316057 91177308-0d34-0410-b5e6-96231b3b80d8
utils/update_mir_test_checks.py [new file with mode: 0755]