https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118594
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
Summary|vreg does not handle |expansion of bf16 to float
|`SUBREG (MEM |should not produce (subreg
|(virtual-incoming-args))` |(mem ())
|correctly |
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2025-01-21
Component|middle-end |target
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/pipermail/gcc/2016-October/222026.html
https://gcc.gnu.org/pipermail/gcc/2018-May/226253.html
https://gcc.gnu.org/pipermail/gcc/2014-March/213017.html
So looks like we should not produce this subreg in the first place . I am
suspecting it is a target issue when expanding the conversion from BF16 to
float. Maybe a missing force reg before taking the subreg.