[llvm-commits] Bad COPY removal in register coalescer

James Molloy James.Molloy at arm.com
Mon Oct 29 09:50:37 PDT 2012


Hi Jakob,

Thanks for the quick response.

./bin/llc -mcpu=cortex-a9 -march=arm test.ll -float-abi=hard -o - -debug

Cheers,

James

On Mon, 2012-10-29 at 16:45 +0000, Jakob Stoklund Olesen wrote:
> On Oct 29, 2012, at 9:34 AM, James Molloy <james.molloy at arm.com> wrote:
> 
> > I've found a bug in the Register Coalescer, but am not really sure how
> > to fix it. Hopefully you can help!
> > 
> > The short version is that the coalescer decides to coalesce (via
> > adjustCopiesBackFrom()) a COPY that it shouldn't.
> 
> I dont' see adjustCopiesBackFrom() doing anything at all in your test case.
> 
> What's your llc command line?
> 
> /jakob
> 
> 
> 





More information about the llvm-commits mailing list