Displaying 2 results from an estimated 2 matches for "59min".
Did you mean:
19min
2010 Oct 20
3
[LLVMdev] How to assign a constant to a register?
On 20/10/10 11:37, leledumbo wrote:
>
>> Why not just use ConstantInt::get() when you want the number 5?
>
> Because I'm not using LLVM libraries, I'm generating LLVM assembly myself.
In that case, why not output '5' when you want 5?
Ciao,
Duncan.
2010 Oct 20
1
[LLVMdev] Re : How to assign a constant to a register?
...at are assigned a constant value by their
definitions.
Example:
x = 5
y = x + 1
z = x * y
becomes
y = 5 + 1
z = 5 * y
Cheers
Matthieu
----- Message d'origine ----
> De : Duncan Sands <baldrick at free.fr>
> À : llvmdev at cs.uiuc.edu
> Envoyé le : Mer 20 octobre 2010, 11h 59min 32s
> Objet : Re: [LLVMdev] How to assign a constant to a register?
>
> On 20/10/10 11:37, leledumbo wrote:
> >
> >> Why not just use ConstantInt::get() when you want the number 5?
> >
> > Because I'm not using LLVM libraries, I'm generating LLVM assem...