[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 --- Comment #5 from Richard Biener --- (In reply to Tamar Christina from comment #4) > (In reply to Richard Biener from comment #3) > > match.pd just does canonicalization here. SLP discovery could handle this > > in the existing swap operands

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 --- Comment #4 from Tamar Christina --- (In reply to Richard Biener from comment #3) > match.pd just does canonicalization here. SLP discovery could handle this > in the existing swap operands or reassoc support but I guess the desire here > is

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 Richard Biener changed: What|Removed |Added Blocks||53947 CC|

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org -

[Bug tree-optimization/104408] SLP discovery fails due to -Ofast rewriting

2022-02-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104408 --- Comment #1 from Tamar Christina --- In particular, the rewrite should probably be gated on the expression being single use.