This is the mail archive of the
mailing list for the GCC project.
PING: [PATCH] Extend CSE to use constant anchors
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 May 2009 23:15:29 -0700
- Subject: PING: [PATCH] Extend CSE to use constant anchors
I've noticed that the function comment before find_reg_offset_for_const does
not describe argument OLD. Please consider the comment below instead of the
one in the patch.
+/* We need to express ANCHOR_ELT->exp + OFFS. Walk the equivalence list of
+ ANCHOR_ELT and see if offsetting any of the entries by OFFS would create a
+ valid expression. Also in *OLD, return how old the resulting expression
+ is compared to the other equivalent expressions. */
+find_reg_offset_for_const (struct table_elt *anchor_elt, HOST_WIDE_INT offs,
+ unsigned *old)