https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128836
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
operands[0] is (subreg:SI (reg:SF 104) 0), and gen_lowpart (HImode, ...) has to
fold that into (subreg:HI (reg:SF 104) 0). That fold is rejected,
validate_subreg disallows subregs with a float inner mode when the sizes
differ.
The split should fail with:
{
"operands[1] = lowpart_subreg (HImode, operands[0], <MODE>mode);
if (!operands[1])
FAIL;
}
