Re: [PATCH 1/2] Fix linear register allocator bug involving read/write to same registers.

2011-04-05 Thread Edward Z. Yang
Pushed. Cheers, Edward Excerpts from Simon Marlow's message of Tue Apr 05 04:28:58 -0400 2011: > On 04/04/2011 17:15, Edward Z. Yang wrote: > > When we read a temporary value from memory, we should update its > > assignment to be both in memory and in register. This was only > > occurring when t

Re: [PATCH 1/2] Fix linear register allocator bug involving read/write to same registers.

2011-04-05 Thread Simon Marlow
On 04/04/2011 17:15, Edward Z. Yang wrote: When we read a temporary value from memory, we should update its assignment to be both in memory and in register. This was only occurring when there was a free register, but not if we needed to spill an existing value in a register to the stack. I gene

[PATCH 1/2] Fix linear register allocator bug involving read/write to same registers.

2011-04-04 Thread Edward Z. Yang
When we read a temporary value from memory, we should update its assignment to be both in memory and in register. This was only occurring when there was a free register, but not if we needed to spill an existing value in a register to the stack. I generalized the code for this case and applied it