https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121991
--- Comment #3 from Filip Kastl <pheeck at gcc dot gnu.org> --- Yes, you're right. PR 121770 is also about a bwaves slowdown that happened in this commit range. We could merge the two PRs somehow but maybe let's not -- let's not complicate this further.
