<p>LLVM 2.5 is really old now, I highly suggest upgrading to 3.1 or even using svn trunk.</p>
<div class="gmail_quote">On Jul 4, 2012 11:53 AM, "Adelle Hartley" <<a href="mailto:adelle@akemi.com.au">adelle@akemi.com.au</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Jul 04, 2012 at 11:31:57AM +0100, Joey wrote:<br>
> Sounds like you are using the C++ API.<br>
><br>
> You can store the value like:<br>
> Value *val = Builder.CreateCall(...);<br>
><br>
> Then, for example, you can do:<br>
> Builder.CreateAdd(val, val);<br>
<br>
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.<br>
<br>
Adelle.<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div>