Skip to content

[mlir] Add access to large values for DynamicAPInt via operator APInt()#14

Open
ad-zama wants to merge 1 commit intomainfrom
andi/apint
Open

[mlir] Add access to large values for DynamicAPInt via operator APInt()#14
ad-zama wants to merge 1 commit intomainfrom
andi/apint

Conversation

@ad-zama
Copy link
Contributor

@ad-zama ad-zama commented Feb 24, 2026

Currently, DynamicAPInt only provides ways to access the current value if it is small (i.e., as an int64_t), but for large values, it does not provide access to the underlying SlowDynamicAPInt or APInt.

This commit adds DynamicAPInt::operator APInt(), which allows for access to the underlying large value.

Currently, `DynamicAPInt` only provides ways to access the current
value if it is small (i.e., as an `int64_t`), but for large values, it
does not provide access to the underlying `SlowDynamicAPInt` or
`APInt`.

This commit adds `DynamicAPInt::operator APInt()`, which allows for
access to the underlying large value.
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