Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to seed processing script #1100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Improvements to seed processing script #1100

wants to merge 2 commits into from

Conversation

afd
Copy link
Contributor

@afd afd commented Nov 15, 2020

The script now works for spirv-opt and LLPC, and has the option to
output just numbers of unique signatures, which is useful for
gathering statistics to put in a spreadsheet.

The script now works for spirv-opt and LLPC, and has the option to
output just numbers of unique signatures, which is useful for
gathering statistics to put in a spreadsheet.
Copy link
Collaborator

@paulthomson paulthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, with a suggestion for the TODO.

Comment on lines +58 to +59
start_line = i + 1
# TODO: Is there a reliable way to find the end of a spirv-opt failure?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe:

  • Don't break once a bug is found (for the cases you added).
  • if found_bug, do something different:
    • Just look for "Exec (verbose): ..." to find the next "reduce" command, set the end line based on this and then break.
    • if we find "gfauto_interestingness_test: finished ..." then the output above this is actually the output from part of a reduction, so something has gone wrong.
    • if we don't find anything else and get to the end of the file, this is also fine. It just means we did not do a reduction and the file immediately ends after the "Command failed:" output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants