xls icon indicating copy to clipboard operation
xls copied to clipboard

Find an appropriate way to deal with 0-bit types being converted to LLVM

Open cdleary opened this issue 5 years ago • 1 comments

These may only be present in unopt builds, but we still want to be able to JIT compile unopt IR. Simplest example I believe is:

concat.1: bits[0] = concat()

For now I'll just say max(bit_count, 1) to avoid making LLVM assertion fail in the type conversion.

cdleary avatar Aug 06 '20 03:08 cdleary

This could be a reasonable first bug for somebody trying to learn the ropes of the JIT infrastructure and make a "somewhat small in design scope but still cross-cutting" modification that would teach the structure of our conversions from XLS IR to LLVM IR.

cdleary avatar May 10 '22 19:05 cdleary