This is an archive of the discontinued LLVM Phabricator instance.

[utils] Improve extraction of check prefixes from RUN lines
ClosedPublic

Authored by n.bozhenov on Jan 11 2017, 10:50 AM.

Details

Summary

Correct handling of the following FileCheck options is implemented in
update_llc_test_checks.py and update_test_checks.py scripts:

  1. -check-prefix (with a single dash)
  2. -check-prefixes (with multiple prefixes)

Diff Detail

Repository
rL LLVM

Event Timeline

n.bozhenov retitled this revision from to [utils] Improve extraction of check prefixes from RUN lines.
n.bozhenov updated this object.
n.bozhenov added reviewers: chandlerc, spatel.
n.bozhenov added a subscriber: llvm-commits.

Seems reasonable, but adding reviewers that know more about python.

dberlin accepted this revision.Jan 13 2017, 10:54 AM
dberlin edited edge metadata.

this looks correct.
i wonder at what point we should start adding at least docstring tests to this code.

This revision is now accepted and ready to land.Jan 13 2017, 10:54 AM
This revision was automatically updated to reflect the committed changes.