Displaying 2 results from an estimated 2 matches for "ba9c9881".
2009 May 05
0
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
...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/20090505/ba9c9881/attachment.html>
2009 May 05
4
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
I have a question about inserting instructions into the LLVM IR. I can insert instructions, but my operands do not have the right type, so it fails an assertion at runtime.
I am trying to insert an immediate load instructions, as a means of claiming a new register.
Here is what I do:
Builder.SetInsertPoint(LLVMBB, I);
// The following line looks to me like it would have a chance of loading