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] |
I noticed that in make_node_stat there was a store and then in tree_size there is load which is bad since it can be done without the store/load. This patch implements one way.
Thanks, Andrew Pinski
* tree.c (tree_size): Handle TREE_VEC earlier and split out the rest of the codes into ... (tree_size_1): here. (make_node_stat): Call tree_size_1 instead of tree_size.
Attachment:
speedup-tree.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] |