Closed proppy closed 2 months ago
If we're not going to add an IR node for it (and I don't think we have any active plans to) I think we should probably remove this in favor of stdlib userspace helper function.
(And note this is technically a frontend issue since it's an error in IR conversion.)
If we're not going to add an IR node for it (and I don't think we have any active plans to) I think we should probably remove this in favor of stdlib userspace helper function.
This seems to be the consensus; we'll remove it from the FE. There is no IR for it, as Leary points out, and it's only implemented in the bytecode interpreter. We'll probably add it to stdlib at a later date. @proppy do you have a preferred format/template/already existing FR for the stdlib?
we'll remove it from the FE.
Did we also update the doc?
@proppy do you have a preferred format/template/already existing FR for the stdlib?
@dplassgit https://github.com/google/xls/issues/new?assignees=&labels=enhancement&projects=&template=enhancement-proposal.yml&title=%5Benhancement%5D+ would do also filed # to discuss how to consolidate builtins and stdlib namespace #1579
Describe the bug
When trying to use the documented built-in
add_with_carry
like in the snippet below:ir_converter_main
fails with the following error: