"Kewen.Lin" <li...@linux.ibm.com> writes:
> diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
> index 2eb3ab5d280..13e6bf461ab 100644
> --- a/gcc/tree-vectorizer.h
> +++ b/gcc/tree-vectorizer.h
> @@ -620,8 +620,9 @@ public:
>    /* Is the loop vectorizable? */
>    bool vectorizable;
>  
> -  /* Records whether we still have the option of using a fully-masked loop.  
> */
> -  bool can_fully_mask_p;
> +  /* Records whether we still have the option of using a partial 
> vectorization
> +     approach for this loop.  */
> +  bool can_use_partial_vectors_p;

Maybe:

  /* Records whether we still have the option of vectorizing this loop using
     partially-populated vectors; in other words, whether it is still possible
     for one iteration of the vector loop to handle fewer than VF scalars.  */

“partial vectorization” sounds more like some parts of the loop would
remain scalar code (which would potentially be useful too).

OK with that change, thanks.

Richard

Reply via email to