Inkwell support for certain things was patchy and some of the getelementptr features had to be done directly via LLVM-sys.
Things which need to be fixed:
getelementptr needs to be centralized and made to work. Can't get a GEP instruction or follow it in Inkwell when it's an argument without dropping to the LLVM-sys object.
Get the SSA identifier from instructions and values without having to to-string an instruction and regex (very hacky and never liked it).
Refine as_value results building for composites and arrays.
Fix eval_insertvalue index retrieval via regex. Seems to be a theme here.
Inkwell support for certain things was patchy and some of the getelementptr features had to be done directly via LLVM-sys.
Things which need to be fixed:
as_value
results building for composites and arrays.eval_insertvalue
index retrieval via regex. Seems to be a theme here.