This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [autovect] [patch] complete-unrolling pass before the vectorizer
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Ayal Zaks <ZAKS at il dot ibm dot com>, Dorit Nuzman <DORIT at il dot ibm dot com>, gcc-patches at gcc dot gnu dot org, Victor Kaplansky <VICTORK at il dot ibm dot com>, rguenther at suse dot de
- Date: Tue, 20 Mar 2007 09:24:31 +0200
- Subject: Re: [autovect] [patch] complete-unrolling pass before the vectorizer
> Why do you need pass_ccp before pass_store_ccp? Doesn't pass_store_ccp
> do at least the propagations that a normal CCP pass would do? That
> pass_ccp looks like redundant work to me. Can you explain why you had
> to schedule it there?
As constant propagation optimization is not applied on vectorized code
we saw that it is highly effective to preform aggressive CCP phase before
the vectorizer (normal CCP + store CCP). This is the case when a nested
loop collapse into an outer loop and the outer loop get vectorized.
Thanks,
Revital
>
> Gr.
> Steven