This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR23744, VRP not merging discontinuous ranges of PHIs


Diego Novillo wrote:
> Duncan Sands wrote on 05/05/06 05:10:
> 
>>> 	PR tree-optimization/23744
>>> 	* tree-vrp.c (vrp_meet): do not require ranges to intersect.
>>>
> This will be more appropriate for the next stage 1.  In the meantime, I
> would like to see compile time impact analysis on real code (I can help
> out with the usual suspects I have around: cc1-i-files, DLV, MICO, SPEC,
> etc).
> 
> You are lengthening the simulation by slowing down the decay into
> VR_VARYING.

However, I expect this will enable folding of a large number of
predicates that are currently missed.

I tried it on some C++ code I have that heavily uses enums and tests
against them, and it helped enormously.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]