[LLVMdev] Move instruction

Eli Friedman eli.friedman at gmail.com
Fri Nov 14 17:06:30 PST 2008

On Fri, Nov 14, 2008 at 2:13 PM, Karhu, Abhinav R <akarhu3 at gatech.edu> wrote:
> Hi all,
> Can anybody tell me how to generate a mov instruction in llvm. I found out there is a MemMove Inst but I dont think that is what I want.
> I want to bypass a load instruction. So i need to generate a mov instruction which will help me remove the redundant load.

At the LLVM IL level, you generally don't generate move instructions;
they're at a lower level.  What are you really trying to do?


More information about the llvm-dev mailing list