Displaying 3 results from an estimated 3 matches for "3a96d73d".
2009 May 06
1
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
...________________________________________________
隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間 — Windows Live for Mobile
http://3c.msn.com.tw/mobile/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090506/3a96d73d/attachment.html>
2009 May 05
0
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
If you want an immediate constant value, ConstantInt::get(APInt(32, 5,
false)) will perhaps help you ?
Olivier.
2009/5/5 seventh moon <suigintou_ at hotmail.com>
> 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
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