On Tue, Nov 18, 2014 at 09:48:52PM +0100, Jan Hubicka wrote: > Hi, > this patch goes through most of ipa passes: ipa-devirt, ipa-cp, > ipa-pure-const, > ipa-profile and ipa-inline and audits them for opt_for_fn. > I did not converted yet ipa-reference because the code is organized in a way > making it bit difficult to hook the tests in and ipa-icf that I want to do > separately. > > The patch also enables ipa inehritance graph building by default. It makes it > easy to support -fdevirtualize functoins within -fno-devirtualize unit and it > is not hard to do so. > > Bootstrapped/regtested x86_64-linux and tested on firefox. I will try to > find time > to design testcases that passes can be randomly turned off on per function > basis, > I would definitely welcome a help with this task - there are quite few options > to test and I am also lagging behind with ipa-cp devirt testcases. > > Martin: I disabled sanity check in ipa_value_from_jfunc, > ipa_context_from_jfunc > because I do not have function context handy. If you think it is worth to > keep > it, I will pass the stuff around.
No, I don't think they are useful enough to bother. Thanks, Martin