Re: [PATCH] tree-optimization: [PR31531] Improve ~a < CST, allow a nop cast inbetween ~ and a

2021-11-22 Thread Richard Biener via Gcc-patches
On Sun, Nov 21, 2021 at 3:19 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > This PR was orignally for the missed optimization of a few isnegative which > had been solved a long time ago (sometime before 4.4.0). I noticed there was > one missed optimization on the gimple level.

[PATCH] tree-optimization: [PR31531] Improve ~a < CST, allow a nop cast inbetween ~ and a

2021-11-21 Thread apinski--- via Gcc-patches
From: Andrew Pinski This PR was orignally for the missed optimization of a few isnegative which had been solved a long time ago (sometime before 4.4.0). I noticed there was one missed optimization on the gimple level. There is a match.pd pattern for ~a < CST but we miss that there could be a