Displaying 2 results from an estimated 2 matches for "getssaplacehold".
Did you mean:
getssaplaceholder
2010 Oct 19
0
[LLVMdev] How to assign a constant to a register?
> 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 it
mixed with common assembly language. So I must hold the initial value until
the
2010 Oct 18
3
[LLVMdev] How to assign a constant to a register?
hi,
Well, there is no "Register" at the level of LLVM IR,
%x = add i32 %y, %z
means you define a value "x" by adding value "y" and value "z" together.
best regards
ether