Re: [PATCH] ipa-cp: Avoid unwanted multiple propagations (PR 97816)

2020-11-30 Thread Jeff Law via Gcc-patches
On 11/20/20 12:41 PM, Martin Jambor wrote: > Hi, > > this is an updated patch based on our conversation on IRC today. So far > I have had a look at the effects on only tramp3d and although it makes > the heuristics more pessimistic more times than optimistic (number of > clones at -Ofast drops

Re: [PATCH] ipa-cp: Avoid unwanted multiple propagations (PR 97816)

2020-11-20 Thread Martin Jambor
Hi, this is an updated patch based on our conversation on IRC today. So far I have had a look at the effects on only tramp3d and although it makes the heuristics more pessimistic more times than optimistic (number of clones at -Ofast drops from 559 to 557), there are also lattices which are massi

[PATCH] ipa-cp: Avoid unwanted multiple propagations (PR 97816)

2020-11-13 Thread Martin Jambor
Hi, when looking at the testcase of PR 97816 I realized that the reason why we were hitting overflows in size growth estimates in IPA-CP is not because the chains of how lattices feed values to each other are so long but mainly because we add estimates in callee lattices to caller lattices for eac