This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]