This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unify gcse and cse exp{r,}_equiv_p functions
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 07 Aug 2004 10:23:26 +0200
- Subject: Re: Unify gcse and cse exp{r,}_equiv_p functions
- References: <41148DC7.2080204@gnu.org> <200408071017.44670.stevenb@suse.de>
I hate hooks. I don't see why this would be any better.
A matter of taste, I do like hooks :-) more than a parameter named FOR_GCSE.
On a pro side, there would be no need to pass extra parameters around,
so the cse.c part of the patch would be smaller. On a con side, one
should check where expr?_equiv_p are in the profiles.
Paolo