On Mon, Jul 3, 2017 at 9:38 AM, Richard Sandiford
wrote:
> This patch records the base alignment and misalignment in
> innermost_loop_behavior, to avoid the second-guessing that was
> previously done in vect_compute_data_ref_alignment. It also makes
> vect_analyze_data_refs use dr_analyze_innermo
This patch records the base alignment and misalignment in
innermost_loop_behavior, to avoid the second-guessing that was
previously done in vect_compute_data_ref_alignment. It also makes
vect_analyze_data_refs use dr_analyze_innermost, instead of having an
almost-copy of the same code.
I wasn't s
ost): Add a tree argument.
>> * tree-data-ref.c: Include builtins.h.
>> (dr_analyze_innermost): Take the tree reference as argument.
>> Set up DR_BASE_ALIGNMENT.
>> (create_data_ref): Update call accordingly.
>> * tree-predcom.c
s argument.
> Set up DR_BASE_ALIGNMENT.
> (create_data_ref): Update call accordingly.
> * tree-predcom.c (find_looparound_phi): Likewise.
> * tree-vectorizer.h (_stmt_vec_info): Add dr_base_alignment.
> (STMT_VINFO_DR_BASE_ALIGNMENT):
tree-data-ref.c: Include builtins.h.
(dr_analyze_innermost): Take the tree reference as argument.
Set up DR_BASE_ALIGNMENT.
(create_data_ref): Update call accordingly.
* tree-predcom.c (find_looparound_phi): Likewise.
* tree-vectorizer.h (_stmt_vec_