[LLVMdev] mov instruction in LLVM IR

Eli Friedman eli.friedman at gmail.com
Thu May 28 16:12:16 PDT 2009


On Thu, May 28, 2009 at 3:46 PM, Vinod Grover<vgrover528 at gmail.com> wrote:
> We are working on a new front-end for LLVM IR for a low level language; The
> input has mov from one scalar to another and we would like to represent
> these in LLVM IR. being new to LLVM I am not sure if there is a way to
> represent this since I couldnt find a mov instr.

LLVM IR doesn't require copy instructions: because LLVM IR is in SSA
form, a copy would always be identical to the original value.  See
also http://llvm.org/docs/tutorial/LangImpl7.html#memory .

-Eli



More information about the llvm-dev mailing list