[LLVMdev] How to assign a constant to a register?
etherzhhb at gmail.com
Mon Oct 18 06:49:06 CDT 2010
On Mon, Oct 18, 2010 at 12:39 PM, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
> Other than:
> %x = add i32 5,0 ; suppose I want to assign 5 to %x
you do not need to do this at the level of LLVM IR, or do you mind to
tell us the reason for this?
> is there any other way? Something like x86's mov instruction
> View this message in context: http://old.nabble.com/How-to-assign-a-constant-to-a-register--tp29987387p29987387.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the LLVMdev