Re: [PATCH][1/3] Add loop_vinfo to vect_get_vec_def_for_operand

2016-06-03 Thread Richard Biener
On Thu, Jun 2, 2016 at 6:04 PM, Alan Hayward wrote: > >> This patch simply adds loop_vinfo as an extra argument to >> vect_get_vec_def_for_operand and only generates a stmt_vinfo if required. >> This is a required cleanup for patch [2/3]. >> Tested on x86 and aarch64. >> >> gcc/ >> * tree-vectoriz

Re: [PATCH][1/3] Add loop_vinfo to vect_get_vec_def_for_operand

2016-06-02 Thread Alan Hayward
> This patch simply adds loop_vinfo as an extra argument to > vect_get_vec_def_for_operand and only generates a stmt_vinfo if required. > This is a required cleanup for patch [2/3]. > Tested on x86 and aarch64. > > gcc/ > * tree-vectorizer.h (vect_get_vec_def_for_operand): Pass loop_vinfo in. > *