https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666
--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #17) > Note s/long long sum/int sum/ is fixed on the trunk (for GCC 16) by the > introduction of noce_try_cond_zero_arith. That is only true on x86_64 and aarch64. The opposite is true for riscv, that is `long long` for sum is fixed on the trunk for rv64gc_zicond and `int` still has the conditional move after the add (well 2 adds).
