On Sun, Dec 5, 2021 at 11:02 PM Richard Sandiford via Gcc-patches
wrote:
>
> In self-compilations, GCC doesn't realise that gimple_seq_last
> always returns nonnull when the argument is nonnull. Although
> it's a small thing in itself, the function is used (indirectly)
> many times and the extra
In self-compilations, GCC doesn't realise that gimple_seq_last
always returns nonnull when the argument is nonnull. Although
it's a small thing in itself, the function is used (indirectly)
many times and the extra null checks bloat what are otherwise
simple loops.
This patch adds an optimisation