[llvm-commits] [llvm] r117174 - in /llvm/trunk: include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/Passes.h lib/CodeGen/CMakeLists.txt lib/CodeGen/LiveIntervalUnion.cpp lib/CodeGen/LiveIntervalUnion.h lib/CodeGen/RegAllocBase.h lib/CodeGen/RegAllocBasic.cpp lib/CodeGen/SplitKit.h
evan.cheng at apple.com
Tue Oct 26 15:46:32 PDT 2010
On Oct 26, 2010, at 1:19 PM, Jakob Stoklund Olesen wrote:
> On Oct 26, 2010, at 1:03 PM, Evan Cheng wrote:
>> 3. It would be nice if the new allocators do not have to update LiveStacks but instead compute it after the allocation is done. Do you think it's possible?
> I just moved the responsibility for updating LiveStacks into the spillers.
> The implementation in the standard spiller is a bit too conservative since nobody knows when it spills and when it splits.
> The implementation in InlineSpiller only updates LiveStacks after splitting and rematerialization is complete, so it should provide near minimal LiveStacks.
> 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?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits