[LLVMdev] Regalloc Refactoring

David Greene greened at obbligato.org
Mon Apr 16 13:11:16 PDT 2007


Fernando Magno Quintao Pereira wrote:
> Hey, David.
> 
>      just a curiosity: does your changes have any impact on the compilation 
> time? E.g, did you try comparing the old version with the modified version 
> using llc -time-passes?

I haven't tested it yet (waiting on some updates from colleagues here)
but there should be no time increase.  Quite literally, it just involves
moving member functions from one class to another, creating a new pass
and adding in the proper AnalysisUsage information.

Separating out the spill cost computation will increase compile time
but I don't imagine it will be significant.

                                   -Dave



More information about the llvm-dev mailing list