Re: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 denominator

2022-05-23 Thread Richard Biener via Gcc-patches
ner > Sent: Thursday, May 12, 2022 12:34 AM > To: Eugene Rozenfeld > Cc: Jan Hubicka ; gcc-patches@gcc.gnu.org > Subject: Re: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 > denominator > > On Thu, May 12, 2022 at 3:37 AM Eugene Rozenfeld > wrote: > >

RE: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 denominator

2022-05-20 Thread Eugene Rozenfeld via Gcc-patches
t: Re: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 denominator On Thu, May 12, 2022 at 3:37 AM Eugene Rozenfeld wrote: > > In my case this is not exactly what the FIXME in the comment above > says. The count is 0 even before the initial scaling happens. I hit this cas

Re: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 denominator

2022-05-12 Thread Richard Biener via Gcc-patches
On Thu, May 12, 2022 at 3:37 AM Eugene Rozenfeld wrote: > > In my case this is not exactly what the FIXME in the comment above says. The > count is 0 even before > the initial scaling happens. I hit this case with some changes I'm working on > to enable per-instruction discriminators for AutoFDO

RE: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0 denominator

2022-05-11 Thread Eugene Rozenfeld via Gcc-patches
In my case this is not exactly what the FIXME in the comment above says. The count is 0 even before the initial scaling happens. I hit this case with some changes I'm working on to enable per-instruction discriminators for AutoFDO. I looked into saving/restoring the old counts but it would be aw