[llvm-commits] [patch] Improve register coalescing

Cameron Zwarich zwarich at apple.com
Wed Jun 29 15:27:41 PDT 2011


Have you done any compile time testing?

Cameron

On Jun 29, 2011, at 2:46 PM, Rafael Ávila de Espíndola wrote:

> This patch improves register coalescing so that it doesn't give up on coalescing A and B if a BB contains:
> 
> A = X
> B = X
> 
> Instead, we pretend that it was
> 
> A = X
> B = A
> 
> This helps a lot in some degenerate cases, but help even in more common ones. A self hosted clang goes from 33627704 to 33626776 bytes, but jsinterp.o in firefox goes from 2069728 to 1598504 bytes.
> 
> This also speeds up the hard case. llc on jsinterp.bc goes from 23.17s to 13.34s.
> 
> Cheers,
> Rafael
> <PR10096.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list