[Bug tree-optimization/105618] [11/12/13 Regression] Missed loop body simplification by -O3 (trunk v.s. 10.3)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 17 08:46:04 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105618
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:ebce0e9bd8d714a8607ae24331a3d842b0d11859
commit r13-550-gebce0e9bd8d714a8607ae24331a3d842b0d11859
Author: Richard Biener <rguenther@suse.de>
Date: Tue May 17 09:45:02 2022 +0200
tree-optimization/105618 - restore load sinking
The PR97330 fix caused some missed sinking of loads out of loops
the following patch re-instantiates.
2022-05-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/105618
* tree-ssa-sink.cc (statement_sink_location): For virtual
PHI uses ignore those defining the used virtual operand.
* gcc.dg/tree-ssa/ssa-sink-19.c: New testcase.
More information about the Gcc-bugs
mailing list