[llvm-dev] Execution

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 16 14:38:36 PDT 2017


On 16 June 2017 at 14:24, Samaneh Berenjian <sama.scientist at aut.ac.ir> wrote:
> Thank you for your reply. The problem is that I have a python code and not
> all of the functions of that are convertible to c code.

I'm afraid I don't understand how this is a problem. You need one
specific @main wrapper function to be able to run the IR you're
producing. It just happens that the simplest way to get that is
probably to compile the corresponding C, you could write it entirely
by hand if you were feeling brave.

> Moreover, may I see your combined_module.ll file ?Thank you

Sure, it should be attached to this message. It's just the @main I
showed together with your function renamed to @fib.

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: combined_module.ll
Type: application/octet-stream
Size: 1002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170616/4c18570c/attachment.obj>


More information about the llvm-dev mailing list