Open siboehm opened 3 years ago
Thanks for bringing this up - I've labelled it as a feature request.
Would you be interested in looking into contributing support for passing vectors of pointers to GEP in a PR? If you are, and you need any pointers / assistance along the way, please do post back here or drop into the numba-dev Gitter channel: https://gitter.im/numba/numba-dev
LLVM allows using
getelementptr
with Vector indices, from LLVM 10 LangRef:However
llvmlite
doesn't seem to allow this, see code fromPointerType
: https://github.com/numba/llvmlite/blob/09df344ef758174949d582a2c85f2a2d0490e403/llvmlite/ir/types.py#L137-L143Example
Should result in
this IR is valid (
opt
doesn't complain)but instead I get