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]

[PATCH] make a new timevar for Reduce PHI


While looking at PR 18708 which was slow for any compiler before 4.0.0,
that reduce PHI was being counted as expand which is wrong.  This patch
fixes it.


OK? Bootstrapped and tested on ppc-darwin with no regressions.


Thanks,
Andrew Pinski

ChangeLog:

	* timevar.def (TV_TREE_REDPHI): New timevar.
	* tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.

Attachment: timevar.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]