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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So while this crashes in the new BB costing part the issue this uncovers is
that
graph partitioning does not merge two partitions that share a vect_external_def
SLP node.  But the SLP costing performed during SLP analysis walked the whole
graph honoring this sharing.  In the end we end up with no vector cost entry.

It's not so easy to change graph partitioning so for the moment I'll fixup
the BB costing to be more forgiving.  The way for a real fix is to attach
SLP node costings to the individual nodes when doing analysis and only
gather them during partition costing.  But that's for next stage1.

Reply via email to