search for: tp29987387p30007489

Displaying 2 results from an estimated 2 matches for "tp29987387p30007489".

2010 Oct 19
2
[LLVMdev] How to assign a constant to a register?
On Oct 18, 2010, at 9:22 PM, leledumbo wrote: > >> let me say that in general doing this is pointless. Due to SSA form, if %x > is >> set to 5 you can't set it to something else later. Thus everywhere that >> you >> use %x you might as well just directly use 5 there instead. > > My bad... I should've started thinking in SSA way all the time. I got
2010 Oct 20
0
[LLVMdev] How to assign a constant to a register?
...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.