[LLVMdev] Question about coalescing

Fernando Magno Quintao Pereira fernando at CS.UCLA.EDU
Sat Dec 15 16:45:27 PST 2007


Dear guys,

     I want to coalesce some copies, and I would like to know if there is 
any method that I can call, like JoinCopy from the old (LLVM 1.9) 
LiveIntervals class. I found it in SimpleRegisterCoalescing (LLVM 2.1), 
but I do not want to call this analysis, as I have my own.

     basically, I can determine that two virtuals do not overlap, and I 
know that it is safe to join them. In the old v1.9, I simply had to do 
this:

     this->interval_analysis_->JoinCopy(mach_inst, use_eg, def_reg);

best,

Fernando



More information about the llvm-dev mailing list