LLVM 2.5 is really old now, I highly suggest upgrading to 3.1 or even using
svn trunk.
On Jul 4, 2012 11:53 AM, "Adelle Hartley" <adelle at
akemi.com.au> wrote:
> 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.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20120704/2f88ff61/attachment.html>