On 2020-10-14 10:21 a.m., Martin Liška wrote:
Hello.
There's a new version of the patch that fixes profile scaling
in IRA.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Yes. Thank you, Martin.
fe93977beec7ca4209 Mon Sep 17 00:00:00 2001
> From: Martin Liska
> Date: Tue, 13 Oct 2020 16:44:47 +0200
> Subject: [PATCH] IPA: fix profile handling in IRA
>
> gcc/ChangeLog:
>
> PR ipa/97295
> * profile-count.c (profile_count::to_frequency): Move
Tue, 13 Oct 2020 16:44:47 +0200
Subject: [PATCH] IPA: fix profile handling in IRA
gcc/ChangeLog:
PR ipa/97295
* profile-count.c (profile_count::to_frequency): Move part of
gcc_assert to STATIC_ASSERT.
* regs.h (REG_FREQ_FROM_BB): Do not use count.to_frequency for
a function that does not have c