[llvm-commits] [llvm] r47167 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/LiveInterval.cpp lib/CodeGen/LiveIntervalAnalysis.cpp lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

Evan Cheng evan.cheng at apple.com
Fri Feb 15 11:48:20 PST 2008


It sped up the coalescer considerably. On kimwitu++:

before:
0.7527 ( 12.8%)   0.0068 (  2.7%)   0.7596 ( 12.4%)   0.7591 ( 12.4%)   
Simple Register Coalescing
now:
0.3062 (  5.6%)   0.0055 (  2.2%)   0.3117 (  5.5%)   0.3115 (  5.5%)   
Simple Register Coalescing

Evan

On Feb 15, 2008, at 11:19 AM, Chris Lattner wrote:

>
> On Feb 15, 2008, at 10:24 AM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Fri Feb 15 12:24:29 2008
>> New Revision: 47167
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=47167&view=rev
>> Log:
>> - Removing the infamous r2rMap_ and rep() method. Now the coalescer
>> will update
>> register defs and uses after each successful coalescing.
>> - Also removed a number of hacks and fixed some subtle kill
>> information bugs.
>
> Very nice!  Is there any compile-time impact of this?  Does it speed
> up coallescing/RA at all?
>
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list