[LLVMdev] Non-tail calls

Adelle Hartley adelle at akemi.com.au
Wed Jul 4 03:04:11 PDT 2012


Hi all.

I am using LLVM to develop a procedural language.  Can anybody point me to an example that uses CreateCall for a non-tail call?  I am having trouble doing anything with the return value from the call besides returning it immediately.

i.e. Passing the CallInst created by CreateCall to CreateRet is working fine, but I am having trouble storing the returned value in a local variable or passing it to another call.

Adelle.




More information about the llvm-dev mailing list