[LLVMdev] Non-tail calls

Adelle Hartley adelle at akemi.com.au
Wed Jul 4 03:45:35 PDT 2012


On Wed, Jul 04, 2012 at 11:31:57AM +0100, Joey wrote:
> Sounds like you are using the C++ API.
> 
> You can store the value like:
>   Value *val = Builder.CreateCall(...);
> 
> Then, for example, you can do:
>   Builder.CreateAdd(val, val);

That looks a lot like what I am trying to do.  I will assume that my problem is either caused by my environment (VC7.1) or by the fact that I am using an older version of llvm (2.5).  Will upgrade my llvm and report back if my problem persists.

Adelle.




More information about the llvm-dev mailing list