Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Improvements to seed processing script - #1100

Open
afd wants to merge 2 commits into
masterfrom
script-fix
Open

Improvements to seed processing script#1100
afd wants to merge 2 commits into
masterfrom
script-fix

Conversation

@afd

@afdafd commented Nov 15, 2020

Copy link
Copy Markdown
Contributor

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.

@paulthomsonpaulthomson left a comment

Copy link
Copy Markdown
Contributor

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?

@paulthomsonpaulthomsonNov 15, 2020

Copy link
Copy Markdown
Contributor

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 freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@afd@paulthomson