[llvm-dev] Passing Array base address/pointer to runtime function in LLVM IR

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 9 01:54:47 PST 2018


Hi Bernard,

On 9 January 2018 at 07:08, Bernard Nongpoh via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Tried the above code but no luck ..

I'm afraid there's not enough context here to answer the question. The
code you posted looks like it could work, but a lot would depend on
the definitions you omitted: getElementPtrInst especially, though a
dump of the whole Module as it exists when this code is executed would
be even better.

Knowing exactly what went wrong (error, assertion (which?), segfault,
...) would also be very helpful.

Cheers.

Tim.


More information about the llvm-dev mailing list