[tree-profiling-branch PATCH] IPA constant propagation
Thu Aug 12 08:57:00 GMT 2004
On Aug 12, 2004, at 12:29 AM, Razya Ladelsky wrote:
> Comments are welcome.
> Changelog Entry:
> 2004-08-12 Razya Ladelsky <email@example.com>
> * ipa_prop.c: New File: IPA constant propagation.
> * ipa_prop.h: New File: Same.
> * Makefile.in (ipa_prop.c, ipa_prop.h): Add new files.
> * common.opt (fipa-cp, fipa-no-cloning): New flags for IPA
> * cgraphunit.c (cgraph_optimize, record_call_1): Support for
> constant propagation.
One suggestion (and will be a requirement when you submit this to the
mainline) is to add
comments in front of each function saying what the function does
including static inline
Another (someone might also say something about this too) would be I
hate places where
there are extraneous casts (i.e. ((struct ipa_edge *)cs->aux), maybe
using an access macro
will help there).
More information about the Gcc-patches