Re: [PATCH] PR tree-optimization/88575 - Use relations when simplifying MIN and MAX.

2025-01-10 Thread Jeff Law
On 1/10/25 2:43 PM, Andrew MacLeod wrote: This should have been done a while ago. Funny I said kind of the same thing when I did the DOM variant for integral types a little while back. The call to simplify MIN and MAX was guarded by a check for INTEGRAL, so I removed that as the code was

[PATCH] PR tree-optimization/88575 - Use relations when simplifying MIN and MAX.

2025-01-10 Thread Andrew MacLeod
This should have been done a while ago. The call to simplify MIN and MAX was guarded by a check for INTEGRAL, so I removed that as the code was already generalized to work with any type. And no attempt was being made to pass in a relation... so I query for a relation between op0 and op1, and