[mlir] Add support for broader range of input files in generate-test-checks.py #134327
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A few additions:
{{: These can show up if serializing non-MLIR info into string attrsmy.attr = {{proto}, {...}}. String escape the opening{{, given that check lines are generated this has no effect on{{.*}}etc in generated lines.--starts_from_scope=0to generate checks for themodule {...} {line, and since MLIR opt tools emit file split lines by default, someCHECK: // -----lines were emit.#[[?]]for all dialect attrs. Only use the attr aliasing if there's a match.