On Mon, Sep 9, 2024 at 8:48 AM Thomas Schwinge <tschwi...@baylibre.com> wrote: > > Hi! > > On 2024-09-04T13:43:45+0800, "Hu, Lin1" <lin1...@intel.com> wrote: > > --- /dev/null > > +++ b/gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c > > @@ -0,0 +1,49 @@ > > +/* { dg-do compile } */ > > +/* { dg-options "-O2 -fdump-tree-forwprop1-details" } */ > > + > > +int is_ordered_and_nonequal_sh_1 (float a, float b) > > +{ > > + return !__builtin_isunordered (a, b) && (a != b); > > +} > > + > > +[...] > > + > > +/* { dg-final { scan-tree-dump-times "gimple_simplified to\[^\n\r]*<>" 9 > > "forwprop1" } } */ > > OK to push > "Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' > re 'LOGICAL_OP_NON_SHORT_CIRCUIT' [PR116635]", > see attached?
OK > > Grüße > Thomas > >