Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApInt used for IntegerAttr is not production ready #1

Open
vaivaswatha opened this issue Mar 7, 2023 · 0 comments
Open

ApInt used for IntegerAttr is not production ready #1

vaivaswatha opened this issue Mar 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@vaivaswatha
Copy link
Owner

To implement IntegerAttr, the ApInt library is used, but this library is not production ready. Find an alternate or contribute to ApInt.

Note that other arbitrary fixed with integer implementations, such as crypto-bigint or bnumm require the fixed width to be known at compile time, while others such as num-bigint are dynamic width integers. Only ApInt provides runtime arbitrary fixed-width integers, same as LLVM's APInt.

This one seems like a good candidate: https://docs.rs/awint/0.9.0/awint/awi/struct.ExtAwi.html

@vaivaswatha vaivaswatha added the enhancement New feature or request label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant