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: [PATCH] Add tree rest of compilation timevar



On Dec 29, 2004, at 2:28 PM, Jeffrey A Law wrote:


On Wed, 2004-12-29 at 00:28 -0500, Andrew Pinski wrote:
As Jeff Law and others have discussed before, we attribute some non
expand related code to expand.  This patch add a new time var for
tree rest of compilation, just like rest of compilation for RTL level.

OK? Bootstrapped and tested on powerpc-darwin.

Thanks,
Andrew Pinski

ChangeLog:

* timevar.def (TV_TREE_REST): New time var.
* tree-optimize.c (tree_rest_of_compilation): Use TV_TREE_REST instead
of TV_EXPAND.
All this does is move the problem from one place TV_EXPAND to
TV_TREE_REST -- it does nothing to actually resolve the issues at hand.
[ ie, TV_TREE_REST gets all the random tree-optimizer stuff plus the
  tree->rtl expansion time. ]

No it does not get the expansion time because pass_expand has TV_EXPAND as its timevar.

Thanks,
Andrew Pinski


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