http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49352

--- Comment #8 from Ira Rosen <irar at il dot ibm.com> 2011-06-11 07:54:55 UTC 
---
Created attachment 24490
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24490
an updated patch

I updated your patch:
- call vect_is_slp_reduction only if check_reduction is true
- removed COND_EXPR and GIMPLE_BINARY_RHS checks
- replaced !is_pattern_stmt_p with !STMT_VINFO_IN_PATTERN_P for use_stmt,
because we actually want the pattern stmt and not the stmt it replaced

Bootstrapped and tested on powerpc64-suse-linux.

Thanks,
Ira

Reply via email to