This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tcb] [RFC] partial rewrite of PHI-OPT



On Sep 29, 2004, at 1:04 PM, Andrew Pinski wrote:


Since PHI-OPT only takes into account if find a PHI with two nodes
we miss some opportunities for optimization on the tree level which
we pick up on the RTL level via the if-cvt pass.  This patch
implements so that look at all COND_EXPR and see if we can do the
transformations.

Here is the updated patch after the merge of the mainline into tcb.
This patch with a patch to fold can help improve compile time
speed of C++. template_args_equal is where we spend a huge amount
of time, in fact we don't need to have a stack frame for that function.
I will send a patch to fold which fixes the last part of code generation,
later this week.


OK? This has been bootstrapped and tested on powerpc-darwin with no
regressions.

Thanks,
Andrew Pinski


Attachment: temp.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]