Re: [optimize 2/3] Simplify vrp abs conversion

2015-08-11 Thread Richard Biener
On Mon, 10 Aug 2015, Nathan Sidwell wrote: > Richard, > in looking at how simplify_abs_using_ranges was doing its thing as a guide to > a min/max vrp optimization, I noticed it was doing more work than necessary. > > Firstly, it wasn't taking advantage of the range comparison functions only > ret

[optimize 2/3] Simplify vrp abs conversion

2015-08-10 Thread Nathan Sidwell
Richard, in looking at how simplify_abs_using_ranges was doing its thing as a guide to a min/max vrp optimization, I noticed it was doing more work than necessary. Firstly, it wasn't taking advantage of the range comparison functions only returning TRUE or FALSE nodes when there's a definite a