On Mon, Aug 05, 2013 at 01:39:50AM -0700, Andrew Pinski wrote: > Seems like a better place to put this is inside tree-ssa-ifcombine.c > which handles the case where if(a || b) is split up into if(a) else > if(b). > Moving it into tree-ssa-ifcombine.c allows for code to be optimized > which was written using the if(a) else if(b) form.
No, tree-ssa-reassoc.c now handles both intra-bb and inter-bb range test optimizations. Jakub