Skip to content

Shared fuzz expression generator.#9048

Merged
alexreinking merged 3 commits intomainfrom
shared-fuzz-expr-gen
Mar 17, 2026
Merged

Shared fuzz expression generator.#9048
alexreinking merged 3 commits intomainfrom
shared-fuzz-expr-gen

Conversation

@mcourteaux
Copy link
Contributor

@mcourteaux mcourteaux commented Mar 16, 2026

First part of #9044

Took out the stuff from fuzz_simplifier, and fuzz_extract_lanes from the other PR. Now everything broke, because the new Expr generator produces MORE kinds of expressions, which uncovers many bugs.

(Intentionally pushing to halide/Halide to encourage collaborative fixes, @abadams)

Update: made the expression generator configurable, such that we can disable the generation of expressions that trip up the simplifier.

Took out the stuff from fuzz_simplifier, and fuzz_extract_lanes from the other PR.
Now everything broke, because the new Expr generator produces MORE expressions, which uncovers many bugs.
@mcourteaux
Copy link
Contributor Author

Making the expression generator configurable, such that I can disable the things on which it fails, in order to be able to continue with this PR without having to fix all the bugs.

Disable expression types that trip the simplifier.
@mcourteaux mcourteaux force-pushed the shared-fuzz-expr-gen branch from 1c4b779 to ec1a1f7 Compare March 16, 2026 16:19
Copy link
Member

@alexreinking alexreinking left a comment

Choose a reason for hiding this comment

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

This looks great! I especially like the configurability options.

@alexreinking alexreinking merged commit 79ae701 into main Mar 17, 2026
23 checks passed
@alexreinking alexreinking deleted the shared-fuzz-expr-gen branch March 17, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants