[LLVMdev] Dynamically alternating between register allocators

Fernando Magno Quintao Pereira fernando at CS.UCLA.EDU
Wed Sep 5 09:36:02 PDT 2007


Hey all,

     is there a simple way to alternate between different register 
allocators at run time? I would like to decide dynamically which register 
allocator to use. The decision is based on information that is produced by 
a pass that executes before register allocation takes place.

Is it possible to modify RegisterRegAlloc::Registry to take into 
consideration this information? Is there any similar example in LLVM?

all the best,

Fernando



More information about the llvm-dev mailing list