Re: What is purpose of numbered variables??

2007-06-04 Thread Diego Novillo
On 6/1/07 3:45 PM, Seema S. Ravandale wrote: > int b; //local variable > > array[b] = c > > will be translated to > b.0 = b; > array[b.0] = c > > anything to do with SSA? Is 'b' an addressable variable or is it a regular local stack variable? If the latter, then this is a buglet in the convers

What is purpose of numbered variables??

2007-06-01 Thread Seema S. Ravandale
Hi. What is purpose of introducing numbered variables kind of a.0 a.1...in pre-SSA pass, which are actually copies of local variable say a. I observed them specially in array references. In case of global variable it is fine as we have to re-read global variable and globals are treated as memory op