[LLVMdev] Regalloc Refactoring
Fernando Magno Quintao Pereira
fernando at CS.UCLA.EDU
Thu Apr 12 16:39:07 PDT 2007
>> And I have a quite fast algo that I believe is simpler than [Budimlic02]
>> and I can share it with you :)
>
> Do you have a paper on this? I'd be interested in seeing it.
>
Yes, I have a tech report on this page:
http://compilers/fernando/projects/soc/
and I have submitted a paper to SAS, and now I am waiting for the review.
The coalescing algorithm is described in sec 4.3. It takes about 10% of
the time used in Live Variables analysis in the built in LLVM compiler:
0.0846 ( 1.2%) 0.0009 ( 2.1%) 0.0855 ( 1.2%) 0.0855 ( 1.2%)
Live Variable Analysis
0.0737 ( 1.0%) 0.0009 ( 2.1%) 0.0746 ( 1.1%) 0.0746 ( 1.0%)
Interval Analysis - Fernando.
0.0361 ( 0.5%) 0.0007 ( 1.6%) 0.0368 ( 0.5%) 0.0368 ( 0.5%)
Loop Strength Reduction
0.0146 ( 0.2%) 0.0003 ( 0.6%) 0.0149 ( 0.2%) 0.0149 ( 0.2%)
Canonicalize natural loops
0.0134 ( 0.2%) 0.0000 ( 0.1%) 0.0135 ( 0.2%) 0.0135 ( 0.1%)
Natural Loop Construction
0.0134 ( 0.2%) 0.0000 ( 0.1%) 0.0135 ( 0.1%) 0.0135 ( 0.1%)
Phi mem coalescer - Fernando. <-- **** is this pass here.
Fernando
More information about the llvm-dev
mailing list