llvmlite
llvmlite copied to clipboard
Constant expressions
In llvmpy, the ConstantExpr can be used to generate, e.g., @x = constant i32 add (i32 64, i32 5)
. There are a couple of expressions implemented in llvmlite (_ConstOpMixin), but its far from complete. Is this limitation intentional, or are you open for pull requests to add more of them?
The limitation is not intentional. It's just that we haven't needed the missing ones yet. Please feel free to open pull requests to add more.
For future references, see https://github.com/numba/llvmlite/pull/735/