[LLVMdev] what's the best way to insert an instruction after the current instruction
Daniel Berlin
dberlin at dberlin.org
Tue Apr 21 15:36:57 PDT 2015
IRBuilder takes an insertion point.
Use it?
On Tue, Apr 21, 2015 at 3:17 PM, zhi chen <zchenhn at gmail.com> wrote:
> The current instruction is:
>
> Instruction *pInst;
>
> How can I create a new instruction, say add, after pInst?
>
> Thanks,
> Zhi
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list