Skip to content

[DSLX Fuzz testing] Update the JIT wrapper generator to use a C++ helper for "wide" bit values and element_of domains.#4415

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_933699307
Draft

[DSLX Fuzz testing] Update the JIT wrapper generator to use a C++ helper for "wide" bit values and element_of domains.#4415
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_933699307

Conversation

@copybara-service

Copy link
Copy Markdown

[DSLX Fuzz testing] Update the JIT wrapper generator to use a C++ helper for "wide" bit values and element_of domains.

Refactors FuzzTest domain generation in the JIT wrapper generator to:

  1. Employ a new C++ helper xls::ElementOfDomain to convert an ElementOf into a complex Google Fuzz Test domain.
  2. Fall back to xls::ArbitraryValue for wide bits (>64 bits) or tuples that contain otherwise unsupported types.

…per for "wide" bit values and element_of domains.

Refactors FuzzTest domain generation in the JIT wrapper generator to:
1. Employ a new C++ helper `xls::ElementOfDomain` to convert an `ElementOf` into a complex Google Fuzz Test domain.
2. Fall back to `xls::ArbitraryValue` for wide bits (>64 bits) or tuples that contain otherwise unsupported types.

PiperOrigin-RevId: 933699307
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.

1 participant