Good news about increased jump threading from my PHI merge patch

Jeffrey A Law law@redhat.com
Mon Dec 13 16:38:00 GMT 2004


On Sat, 2004-12-11 at 02:24 -0500, Kazu Hirata wrote:
> Hi,
> 
> I was playing with my PHI merge patch that merge two PHI nodes like
> 
>   # tem_6 = PHI <tem_17(8), tem_23(7)>;
> <L9>:;
> 
>   # tem_3 = PHI <tem_6(9), tem_2(5)>;
> <L10>:;
> 
> into one PHI node like so
> 
>   # tem_3 = PHI <tem_23(7), tem_2(5), tem_17(8)>;
> <L10>:;
> 
> I've been saying my PHI merge patch would improve jump threading but
> never said by how much.  So here is that number.
[ ... ]
Thanks.  It's still on my list of things to evaluate for 4.0, mostly
because of its potential to help compile-times on some of our 
problematical cases without introducing lots of regressions elsewhere.

You mentioned that we can't handle large PHI nodes.  Can you comment
more on that -- that would be my largest individual concern right now.

jeff




More information about the Gcc mailing list