Skip to content

[DSLX Fuzz testing] Support XLS structs as fuzz test domains (Part 4/4: JIT Wrapper Generation)#4292

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

[DSLX Fuzz testing] Support XLS structs as fuzz test domains (Part 4/4: JIT Wrapper Generation)#4292
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_917396383

Conversation

@copybara-service
Copy link
Copy Markdown

[DSLX Fuzz testing] Support XLS structs as fuzz test domains (Part 4/4: JIT Wrapper Generation)

Support generating C++ FuzzTest domains (such as fuzztest::TupleOf and fuzztest::ElementOf) mapped from lowered XLS struct/tuple IR domains:

  • Recursively serialize JIT ValueProto metadata to C++ literals, representing generic struct/tuple types as std::make_tuple(...) and arrays as C++ std::array
  • Updated to_domain for element_of to support structured types (tuple/struct elements).

…4: JIT Wrapper Generation)

Support generating C++ FuzzTest domains (such as `fuzztest::TupleOf` and `fuzztest::ElementOf`) mapped from lowered XLS struct/tuple IR domains:
  * Recursively serialize JIT `ValueProto` metadata to C++ literals, representing generic struct/tuple types as `std::make_tuple(...)` and arrays as C++ `std::array`
  * Updated `to_domain` for `element_of` to support structured types (tuple/struct elements).

PiperOrigin-RevId: 917396383
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