diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2025-08-14 13:36:40 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2025-08-14 13:36:40 +0100 |
commit | 2934d4eea725fe9b560c5e51b859927c357ab6f7 (patch) | |
tree | 94b1514da146eb41af0ea260129b03ae4ecf3055 /gcc/testsuite/gcc.dg/vect/pr120922.c | |
parent | 5eccc9f4db9a96571dddfa089caad61f2833e63f (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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.
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/pr120922.c')
0 files changed, 0 insertions, 0 deletions