search for: x_8643

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

Did you mean: x_64
2011 Feb 07
4
[LLVMdev] Newbie Question: not using local variables
...is that when I see: let x = 3 in ... the value of x can not be changed. It can be shadowed, like: let x = f () in let x = x + 4 in ... but one of the first things I do is rename all the variables so they're unique, so the above code might get changed into: let x_5734 = f () in let x_8643 = x_5734 + 4 in ... Now, my question is this: is there any downside to not having any stack-based local variables at all- just put everything into registers and let the register allocation code decide what needs to get spilled onto the stack? In other words, is there any problem with generat...
2011 Feb 08
0
[LLVMdev] Newbie Question: not using local variables
...ot be changed. It can be shadowed, like: > let x = f () in > let x = x + 4 in > ... > but one of the first things I do is rename all the variables so they're > unique, so the above code might get changed into: > let x_5734 = f () in > let x_8643 = x_5734 + 4 in > ... > > Now, my question is this: is there any downside to not having any > stack-based local variables at all- just put everything into registers and > let the register allocation code decide what needs to get spilled onto the > stack? In other words, is...