This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2006 06:14:10 -0000
- Subject: [Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization
- References: <bug-28643-8585@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dberlin at gcc dot gnu dot org 2006-08-08 06:14 -------
Subject: Re: redundant phi-node in latch-block
prevents vectorization
pinskia at gcc dot gnu dot org wrote:
> ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:47 -------
> SSA copy prop with dce after that should really be the correct way.
>
Err, SSA copy prop should be enough, actually, since after copy-prop,
the phi will have no users (and they shouldn't care about code with no
uses that doesn't access memory).
Though it's interesting that this redundant phi survives so long. What
is creating it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28643