Re: Sinking memory accesses

2011-03-28 Thread Simon Marlow
On 25/03/2011 17:32, Edward Z. Yang wrote: We are investigating sinking memory accesses, and Simon Peyton Jones stated that CmmSpillReload ought to be sinking everything, and not just spilled calls. Unfortunately, this is not the case: middleAvail :: CmmNode O O -> AvailR

Sinking memory accesses

2011-03-25 Thread Edward Z. Yang
We are investigating sinking memory accesses, and Simon Peyton Jones stated that CmmSpillReload ought to be sinking everything, and not just spilled calls. Unfortunately, this is not the case: middleAvail :: CmmNode O O -> AvailRegs -> AvailRegs middleAvail (CmmAssign (CmmL