[LLVMdev] mov or copy instruction

Owen Anderson resistor at mac.com
Thu Jun 7 14:07:40 PDT 2012


Amruth,

In general, you should not need to copy values.  LLVM IR values are always in SSA form, so there's no difference between a value and the instruction that defines it.  Since there is not limit on the number of values, you should never need to copy something.

--Owen


On Jun 7, 2012, at 1:48 PM, amruth.rd at knights.ucf.edu wrote:

> Hello everyone,
> 
> I didn't come across mov or copy in LLVM IR instruction set. So what is the best way to move/copy values between virtual registers? 
> 
> Thanks,
> Amruth
> _______________________________________________
> 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/20120607/761b84a1/attachment.html>


More information about the llvm-dev mailing list