[llvm-commits] [llvm] r134231 - /llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Jul 1 23:44:11 PDT 2011


> This is actually an easy FIXME. Se the other places that call
> li_->shrinkToUses() after remat etc.
> 
> The only trick is to call it after markAsJoined() has undef'ed all
> operands on the COPY instruction that is going away. Otherwise the
> undead COPY would still require liveness.

I will try that (and your suggestion for handling copies from equivalent
registers), but I wanted to first fix things by
just adding "return false" to cases we don't handle yet.

> /jakob
> 

Cheers,
Rafael



More information about the llvm-commits mailing list