[LLVMdev] mov or copy instruction

Caldarale, Charles R Chuck.Caldarale at unisys.com
Thu Jun 7 14:08:28 PDT 2012


> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of amruth.rd at knights.ucf.edu
> Subject: [LLVMdev] mov or copy instruction

> 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? 

LLVM is SSA-based, so such instructions are unnecessary.  Every operation creates a new virtual register, distinct from all others.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.





More information about the llvm-dev mailing list