[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 4 08:29:52 GMT 2024


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is the scalar reduction value is live from the main loop to the
epilog.  We don't seem to use the vector .REDUC_PLUS value on both paths.
Likely failure of reduction epilog generation.  Let me have a look.


More information about the Gcc-bugs mailing list