[LLVMdev] How to assign a constant to a register?

ether zhhb etherzhhb at gmail.com
Mon Oct 18 06:05:53 PDT 2010


hi,

Well, there is no "Register" at the level of LLVM IR,

%x = add i32 %y, %z

means you define a value "x" by adding value "y" and value "z" together.

best regards
ether



More information about the llvm-dev mailing list