Re: [PATCH] PR tree-optimization/57371: Optimize (float)i == 16777222.0f sometimes.

2024-08-05 Thread Jeff Law
On 7/28/24 6:01 AM, Roger Sayle wrote: This patch improves the tree-level optimization of (fptype)ivar != CST in match.pd (historically tracked under PR 57371). Joseph Myers' description in comment #1 provides an excellent overview of the issues, that historically it's the trapping behaviour

[PATCH] PR tree-optimization/57371: Optimize (float)i == 16777222.0f sometimes.

2024-07-28 Thread Roger Sayle
This patch improves the tree-level optimization of (fptype)ivar != CST in match.pd (historically tracked under PR 57371). Joseph Myers' description in comment #1 provides an excellent overview of the issues, that historically it's the trapping behaviour of (fptype)ivar conversion that is the prim