<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://11865/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Amruth,<div><br></div><div>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.</div><div><br></div><div>--Owen</div><div><br></div><div><br><div><div>On Jun 7, 2012, at 1:48 PM, <a href="mailto:amruth.rd@knights.ucf.edu">amruth.rd@knights.ucf.edu</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">Hello everyone,<div><br></div><div>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? </div><div><br></div><div>Thanks,</div><div>Amruth</div></div>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><span class="Apple-converted-space"> </span>        <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></blockquote></div><br></div></body></html>