-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Summary
The astx library already defines unsigned integer types (UInt8, UInt16, UInt32, UInt64, UInt128) and their corresponding literal nodes but the IRx backend has no visitor methods for any of these nodes. As a result, unsigned integers are currently unsupported in code generation. Also, llvmlite already supports unsigned instructions (udiv, urem, icmp_unsigned) and since LLVM has no distinct unsigned types, UInt8-UInt128 map to the same ir.IntType(N) as their signed counterparts.
If maintainers are open to it, I'd be happy to work on a PR for this.
Additional Information
Code of Conduct
- I agree to follow the Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels