<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 26, 2010, at 3:59 PM, Jakob Stoklund Olesen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Oct 26, 2010, at 3:46 PM, Evan Cheng wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">On Oct 26, 2010, at 1:19 PM, Jakob Stoklund Olesen wrote:<br></blockquote><br><blockquote type="cite"><blockquote type="cite">If the LiveStacks are minimal, it is fine to calculate them on the fly, right? Or du you have a reason for wanting to compute them after allocation?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">No particular reason. LiveStacks is a bit of a hack, I just think we should work towards removing the hack. Not having the allocator updating it is a good start.<br></blockquote><br>What do you have in mind? It seems like an OK design to me.<br></div></blockquote><div><br></div>1) LiveStacks is only used to track live time of spill slots. We would want to track non-spill ones as well.</div><div>2) It's using LiveIntervals. Doesn't it seem a bit heavy weight?</div><div><br><blockquote type="cite"><div><br>Obviously, StackSlotColoring needs to stop doing register allocation (!!), and it could probably share more code with the register allocator.<br></div></blockquote><div><br></div>Like I said, a bit of a hack. :-)</div><div><br></div><div>Evan</div><div><br><blockquote type="cite"><div><br>/jakob<br><br></div></blockquote></div><br></body></html>