This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79958] Missed tree DSE
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Mar 2017 09:11:08 +0000
- Subject: [Bug tree-optimization/79958] Missed tree DSE
- Auto-submitted: auto-generated
- References: <bug-79958-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79958
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-03-10
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
First thing I notice (but unrelated to this bug) is that domwalk walks
non-optimally when walking in postdom order (all the tricks to use a RPO
dom order only were implemented for dominator walks).
Here the issue is that the walk over immediate uses of VDEFs finds two
stmts, one in the EH region and one in the fallthru block. For simplicity
(cost reasons) we do not look for uses in more than one block (yeah, the
code is _really_ simple...).