[LLVMdev] Create Instruction

Duncan Sands baldrick at free.fr
Sun Apr 1 05:30:13 PDT 2012


Hi Михаил,

> The problem is that results of instructions have different names (%call6,
> %call64).

instruction names aren't used for anything (they only exist to make the IR
easier for humans to read), so it doesn't matter.

Ciao, Duncan.

  I create new CallInst by
> CallInst::Create(F1,args,CS.getInstruction()->getName(), rightCall); , where CS
> - original call site, but new Instruction still haven't same name, but similar
> as I see....
>
> It is possible to give exactly same name for result if CallInst in my case? Thanks!
>
> Yours sincerely,
> Kadysev Mikhail
>
>
>
> _______________________________________________
> 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