Re: Add inline-analysis predicates to edges

2011-04-27 Thread Michael Matz
Hi, On Wed, 27 Apr 2011, Jan Hubicka wrote: > *** false_predicate (void) > *** 163,168 > --- 166,195 > } > > > + /* Return true if P is (false). */ > + > + static inline bool > + true_predicate_p (struct predicate *p) Comment doesn't match function. > + { > + r

Add inline-analysis predicates to edges

2011-04-27 Thread Jan Hubicka
Hi, this patch finishes the basic predicate infrastructure of ipa-inline by adding predicates to edges. The predicates are combined, so we can work out very simple cases where function call becmes dead after inlining. In tramp3d we get couple hundred cases like that, so it seems to make differen