https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121501

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:2934d4eea725fe9b560c5e51b859927c357ab6f7

commit r16-3204-g2934d4eea725fe9b560c5e51b859927c357ab6f7
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Thu Aug 14 13:36:40 2025 +0100

    powerpc: Add missing modes to P9 if_then_elses [PR121501]

    These patterns had one (if_then_else ...) nested within another.
    The outer if_then_else had SImode, which means that the "then"
    and "else" should also be SImode (unless they're const_ints).
    However, the inner if_then_else was modeless, which led to an
    assertion failure when trying to take a subreg of it.

    gcc/
            PR target/121501
            * config/rs6000/rs6000.md (cmprb, setb_signed, setb_unsigned)
            (cmprb2, cmpeqb): Add missing modes to nested if_then_elses.

Reply via email to