[ipa] RFC: allow IPA passes to run on optimized code

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Wed Sep 28 13:21:00 GMT 2005


For a private project here in University of Lugano, we need to perform 
IPA analysis on the optimized code.  While right now the quality of the 
information is not really the best because the callees have been already 
discarded, the attached patch does run all the tree-optimizations in 
ipa_passes.  This way, we can look at the optimized code of all the 
functions being compiled.

As a side effect, it removes a couple of hacks.

A similar version with some more local changes was bootstrapped and 
regtested, but it is not suitable for FSF GCC (we are going into and out 
of SSA at -O0 too, for example).  Is this one ok for ipa-branch if it 
passes?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipa-schedule-all-passes.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050928/2e4d8f1c/attachment.ksh>


More information about the Gcc-patches mailing list