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

leledumbo leledumbo_cool at yahoo.co.id
Wed Oct 20 23:19:53 PDT 2010


> If x is a local variable, it will be stored on the stack. So you need an
> alloca for it:

Aha, I remember this in Kaleidoscope tutorial. So, after the alloca %x can
be modified freely (e.g. without adding suffix)?
-- 
View this message in context: http://old.nabble.com/How-to-assign-a-constant-to-a-register--tp29987387p30016496.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list