On Fri, Oct 28, 2016 at 1:10 PM, Bin Cheng <bin.ch...@arm.com> wrote:
> Hi,
> Function vect_slp_analyze_node_dependences delays data-dependence check for 
> visited store stmts until we run into the last store, because all stores are 
> sunk/vectorized at the position of the last one.  The problem is that it 
> still checks data-dep for current store stmt after the delay part of code.  
> This is unnecessary no matter the last store stmt is encountered or not.  
> This patch fixes the issue by simple refactoring.  Bootstrap and test on 
> x86_64.  Is it OK?

Ok.

Richard.

> Thanks,
> bin
>
> 2016-10-27  Bin Cheng  <bin.ch...@arm.com>
>
>         * tree-vect-data-refs.c (vect_slp_analyze_node_dependences): Skip
>         unnecessary data dependence check after visited store stmt.

Reply via email to