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

ether zhhb
2010-10-18T13:05:53Z

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