Re: [PATCH] Turn vect_create_addr_base_for_vector_ref offset into a byte offset

2021-10-26 Thread Richard Biener via Gcc-patches
On Tue, 26 Oct 2021, Bernhard Reutner-Fischer wrote: > On 26 October 2021 10:58:50 CEST, Richard Biener via Gcc-patches > wrote: > > >@@ -2006,6 +2011,7 @@ get_negative_load_store_type (vec_info *vinfo, > > dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, > > "n

Re: [PATCH] Turn vect_create_addr_base_for_vector_ref offset into a byte offset

2021-10-26 Thread Bernhard Reutner-Fischer via Gcc-patches
On 26 October 2021 10:58:50 CEST, Richard Biener via Gcc-patches wrote: >@@ -2006,6 +2011,7 @@ get_negative_load_store_type (vec_info *vinfo, > dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, >"negative step but alignment required.\n"); > return VMAT_

[PATCH] Turn vect_create_addr_base_for_vector_ref offset into a byte offset

2021-10-26 Thread Richard Biener via Gcc-patches
This changes the offset in elements for vect_create_addr_base_for_vector_ref and vect_create_data_ref_ptr to an offset in bytes, easing a following refactoring. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. 2021-10-26 Richard Biener * tree-vect-data-refs.c (vect_create_