[llvm-commits] [llvm] r98023 - /llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Mar 9 10:15:18 PST 2010


On Mar 9, 2010, at 9:41 AM, Jakob Stoklund Olesen wrote:

> 
> On Mar 8, 2010, at 5:37 PM, Jakob Stoklund Olesen wrote:
> 
>> 
>> On Mar 8, 2010, at 5:23 PM, Evan Cheng wrote:
>> 
>>> Is 1000 scientific? :-)
>> 
> 
> The coalescer timing formed a perfect parabola with t=4.1s at N=2000. This is not a caching effect - the coalescer is quadratic in the number of function calls!

The attached graph shows the coalescer runtime as a function of the array length in my tiny test function (inlining disabled). The patch kicks in at N=500 and reduces runtime to nothing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph.svg
Type: image/svg+xml
Size: 8481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100309/a29a1d4b/attachment.svg>


More information about the llvm-commits mailing list