[Bug tree-optimization/123054] [16 Regression] 23% slowdown of 538.imagick_r on Zen5 since r16-5887-g27d9cefeebc255
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 9 07:29:22 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123054
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There could be some issues with the removal of the forwarder block messing up
the count still.
One thing I had noticed is removing the forwarder block vs doing bb merge, the
counts got messed up.
Which is why I added this:
```
/* If this bb has a single predecessor and that predecssor
has a single successor, this bb will be merged with the
predecessor so ignore it for removing of the forwarder block. */
if (single_pred_p (bb)
&& single_succ_p (single_pred_edge (bb)->src))
return false;
```
Let try to remove that and maybe fix up the count there. Maybe that will fix
this case.
More information about the Gcc-bugs
mailing list