This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64700] Sink common code through PHI
- 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: Wed, 21 Jan 2015 09:43:21 +0000
- Subject: [Bug tree-optimization/64700] Sink common code through PHI
- Auto-submitted: auto-generated
- References: <bug-64700-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64700
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-01-21
CC| |rguenth at gcc dot gnu.org
Version|unknown |5.0
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Thanks for splitting out ;)
Btw, there is also the corresponding PR23286 for code hoisting with a patch
implementing that ontop of PRE. I'd say the sinking part should be part
of a partial dead code elimination pass (aka SSU-PRE).
Note that in some cases you have the choice of sinking or hoisting so pass
ordering will then determine what we do in that case.