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

leledumbo leledumbo_cool at yahoo.co.id
Wed Oct 20 00:52:47 PDT 2010


> No, you could throw it into a global if you know you're going to want to
use 5 at some point in the future randomly.

OK, I guess that's the way I should treat it. Load from global to register,
do operations, store it back.
-- 
View this message in context: http://old.nabble.com/How-to-assign-a-constant-to-a-register--tp29987387p30007489.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list