[llvm-commits] [patch] Improve register coalescing

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jun 30 15:54:37 PDT 2011


On 06/30/2011 06:35 PM, Evan Cheng wrote:
> Please watch performance changes (beyond just js) carefully. More
> coalescing doesn't always equal better performance. I think greedy
> regalloc is going to be able to handle anything the coalescer throws
> its way, but let's be careful still.

Sure, but "can" and "should" are independent.

This patch makes the coalescer see that it can merge A and B. If there 
are cases where merging A and B is not profitable (the life range gets 
too big?) that should be an independent test.

> Evan

Cheers,
Rafael



More information about the llvm-commits mailing list