Re: [PATCH] Add range/nonzero info to generated ADD_OVERFLOW and simplify

2021-08-14 Thread Jakub Jelinek via Gcc-patches
On Fri, Aug 13, 2021 at 06:22:48PM -0700, apinski--- via Gcc-patches wrote: > From: Andrew Pinski > > Even though this does not change the generated code, > it does improve the initial RTL generation. > > gcc/ChangeLog: > > * tree-ssa-math-opts.c (match_arith_overflow): > Add range

[PATCH] Add range/nonzero info to generated ADD_OVERFLOW and simplify

2021-08-13 Thread apinski--- via Gcc-patches
From: Andrew Pinski Even though this does not change the generated code, it does improve the initial RTL generation. gcc/ChangeLog: * tree-ssa-math-opts.c (match_arith_overflow): Add range and nonzero bits information to the new overflow ssa name. Also fold the