[llvm-commits] [llvm] r108615 - in /llvm/trunk: include/llvm/Analysis/LoopInfo.h include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/Splitter.cpp lib/CodeGen/Splitter.h

Chris Lattner clattner at apple.com
Sat Jul 17 09:02:02 PDT 2010


On Jul 17, 2010, at 12:39 AM, Lang Hames wrote:

> Also not hooked up to anything yet.
> 
> At present if you require this pass in your register allocator it'll go ahead aggressively split all your intervals, undoing half of the SimpleRegisterCoalescer's good work. I'll change this to more sane behaviour soon.

Hey Lang,

Wouldn't it make more sense to integrate splitting with the spilling policy?  It seems that it makes the most sense to do splitting while iteratively handling spilling.  If you have enough registers, there is no reason to split.

-Chris





More information about the llvm-commits mailing list